VolosR / TTGOWeatherStation

129 stars 59 forks source link

Backlight not declared/defined #12

Closed Marvin-YYC closed 1 year ago

Marvin-YYC commented 1 year ago

I added this line, but still can't get this to work and corrected a couple of other errors. #define TFT_BL 4 // Display backlight control pin for TTGO T-display

I have set board to TTGO LoRa32-OLED and tried every TTGO board and a couple other too.

Seems to be running properly, as temperature/humidity and time are returned on serial monitor, but the screen is blank. I tried changing the backlight brightness to 220 but display is still blank.

I uploaded the TicTacToe sketch, which configures and uploads without any changes but the screen is also blank.

I uploaded another sketch to reconfirm that the display is working, and it uploads fine and the screen works.

What am I doing wrong?

Any suggestions or help would be appreciated:)

Marvin-YYC commented 1 year ago

Never mind. I finally figured it out after watching your video on how to use platformio. I edited the user setup file.