/TTGO-T-Beam-Blinking

LED blinking example for TTGO T-Beam

Primary LanguageC++

TTGO-T-Beam-Blinking

LED Blinking example for TTGO T-Beam

Since I was struggeling a lot and it took me quite some hours to collect the necessary information and adapt it to bring up my TTGO T-Beam using the Arduino IDE I decided tho share my experience and results.

Ti works for my board and environment. However, USE AT YOUR OWN RISK!!

Hardware

There are different versions of the TTGO T-Beam and I have the one with the three buttons next to the micro USB connector, I think it is version 1.0.

Arduino IDE

Libraries

You have to add the AXP202X library to your Arduino IDE. On my mac I did this on the command line by changing to the Arduino library directory (usually "your user home directory"/Documents/Arduino/libraries ) and clone the git repository by

git clone https://github.com/lewisxhe/AXP202X_Library

Afterwards I think you have to restart Arduino IDE.

Board settings

I use these board settings

Arduino tools configuration settings

Compile and upload the sketch to your board

Push the "verify" button in Arduinoe IDE to check if everything compiles without errors. Afterwards push "Upload" button to upload to your board.

If everything was sucessfull the blue led should start blinking. Maybe you have to unplug the power adapter (USB cable) and plug it in again.

References