@yakuzja There are two ways to get started quickly
Use the Arduino IDE and install the ESP32 support package.
Use the VSCODE PIO plug-in, this plug-in can automatically configure the environment for you, the compilation speed is relatively fast, and it also supports Arduino functions and libraries
@metawops I have no idea what the factory sketch is supposed to do!
Thats why I made my HotHead example, to debug and get it running.
I studied the code and made the Hothead tempsensor and a FPS version (not included in the repository that I posted) to determine Frames Per Second.
I also added the LCD backlight ON command to HotHead, after both displays "went dead". This revived them.
The factory tft.ino included in the factory download just shows you how to learn the tft.drawsprite and sprite.drawString functions, with examples.
If the LilyGO is really stuck you can try the black reset button on the back and/or the "left" (when holding it vertical with the USB down) button marked "BOT" (boot) in various combinations to clear it
@andyclap When the battery is depleted, the noise source is from the DCDC boost inductor on the board, thanks for your feedback, I will discuss the solution with my team.
Recommendations on power consumption:
When starting T-Higrow, it is recommended to reduce the main frequency of ESP32 to 160, or lower, if not using WiFi, it is recommended to lower to 80, 40MHz
If WiFi transmission is used, it is recommended to reduce the number of transmissions, and then package and send the data uniformly. The number of acquisitions can remain unchanged.
TTGO LoRa32 V2.1-1.6 is the same as TTGO LoRa32 V2.1-1.6.1, we just changed the silk screen on the board.
The OLED on the board uses (SDA)21 , (SCL)22
There are schematic diagrams and reference codes in our warehouse, please see here Link