Hi I get these compile errors, perhaps using a wrong lib version?
regards, Roland
...../TTGOWeatherStation/Weather/Weather.ino:60:3: error: 'ledcSetup' was not declared in this scope
60 | ledcSetup(pwmLedChannelTFT, pwmFreq, pwmResolution);
| ^~~~~~~~~
.../TTGOWeatherStation/Weather/Weather.ino:61:17: error: 'TFT_BL' was not declared in this scope; did you mean 'TFT_CS'?
61 | ledcAttachPin(TFT_BL, pwmLedChannelTFT);
| ^~~~~~
| TFT_CS
.../TTGOWeatherStation/Weather/Weather.ino:61:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
61 | ledcAttachPin(TFT_BL, pwmLedChannelTFT);
| ^~~~~~~~~~~~~
| ledcAttach
Hi I get these compile errors, perhaps using a wrong lib version?
regards, Roland
...../TTGOWeatherStation/Weather/Weather.ino:60:3: error: 'ledcSetup' was not declared in this scope
60 | ledcSetup(pwmLedChannelTFT, pwmFreq, pwmResolution);
| ^~~~~~~~~
.../TTGOWeatherStation/Weather/Weather.ino:61:17: error: 'TFT_BL' was not declared in this scope; did you mean 'TFT_CS'?
61 | ledcAttachPin(TFT_BL, pwmLedChannelTFT);
| ^~~~~~
| TFT_CS
.../TTGOWeatherStation/Weather/Weather.ino:61:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
61 | ledcAttachPin(TFT_BL, pwmLedChannelTFT);
| ^~~~~~~~~~~~~
| ledcAttach