C:\Users\mclacqui\AppData\Local\Temp.arduinoIDE-unsaved2024819-12280-ld9coh.lcqn\sketch_sep19a\sketch_sep19a.ino: In function 'void setUpPinModes()':
C:\Users\mclacqui\AppData\Local\Temp.arduinoIDE-unsaved2024819-12280-ld9coh.lcqn\sketch_sep19a\sketch_sep19a.ino:161:3: error: 'ledcSetup' was not declared in this scope
161
^~~~~
C:\Users\mclacqui\AppData\Local\Temp.arduinoIDE-unsaved2024819-12280-ld9coh.lcqn\sketch_sep19a\sketch_sep19a.ino:163:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
163
In file included from C:\Users\mclacqui\AppData\Local\Temp.arduinoIDE-unsaved2024819-12280-ld9coh.lcqn\sketch_sep19a\sketch_sep19a.ino:1:
C:\Users\mclacqui\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-b6b4727c58\esp32/include/esp_wifi/include/esp_now.h:157:54: note: initializing argument 1 of 'esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t)'
157 | esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t cb);
| ~~~~~~^~
exit status 1
Compilation error: 'ledcSetup' was not declared in this scope
~~~~ C:\Users\mclacqui\AppData\Local\Temp.arduinoIDE-unsaved2024819-12280-ld9coh.lcqn\sketch_sep19a\sketch_sep19a.ino:163:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'? 163~~~~~~~~~In file included from C:\Users\mclacqui\AppData\Local\Temp.arduinoIDE-unsaved2024819-12280-ld9coh.lcqn\sketch_sep19a\sketch_sep19a.ino:1: C:\Users\mclacqui\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-b6b4727c58\esp32/include/esp_wifi/include/esp_now.h:157:54: note: initializing argument 1 of 'esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t)' 157 | esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t cb); |
~~~~~~^~exit status 1
Compilation error: 'ledcSetup' was not declared in this scope