-
Notifications
You must be signed in to change notification settings - Fork 13
Description
I wonder if this is a simple user error issue.... trying to compile this and get the following errors. I think I have the board and framework all setup correctly. Using ArduinoIDE
/Users/anthonyjclarke/Downloads/ResistorTTGO/ResistorTTGO/ResistorTTGO.ino: In function 'void setup()':
/Users/anthonyjclarke/Downloads/ResistorTTGO/ResistorTTGO/ResistorTTGO.ino:36:3: error: 'ledcSetup' was not declared in this scope
36 | ledcSetup(pwmLedChannelTFT, pwmFreq, pwmResolution);
| ^~~~~~~~~
/Users/anthonyjclarke/Downloads/ResistorTTGO/ResistorTTGO/ResistorTTGO.ino:37:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
37 | ledcAttachPin(TFT_BL, pwmLedChannelTFT);
| ^~~~~~~~~~~~~
| ledcAttach
exit status 1
Compilation error: 'ledcSetup' was not declared in this scope
Many thanks in advance