VolosR / TTGOWeatherStation

129 stars 59 forks source link

After compiling with no errors, I get black screen #9

Closed felipebrunet closed 2 years ago

felipebrunet commented 2 years ago

I found that the line 65 has an error: Weather:65:17: error: 'TFT_BL' was not declared in this scope ledcAttachPin(TFT_BL, pwmLedChannelTFT); ^~ C:\Users\felip\Downloads\Weather\Weather.ino:65:17: note: suggested alternative: 'TFT_BLUE' ledcAttachPin(TFT_BL, pwmLedChannelTFT); ^~ TFT_BLUE exit status 1 'TFT_BL' was not declared in this scope

I checked the library and it is either BLUE or BLACK, but not BL. After correcting this, Program compiles but results in black screen on my device. Any help? A bit of a mess all that dependencies and versioning (of the Arduino IDE and the ESP manager). Any versioning recommendations?

felipebrunet commented 2 years ago

Solved. It was the TFT library. Used the one suggested by the manufacturer and Worked perfectly!!