-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The led* methods changed or got deprecated making the library not to compile.
Users/fmorais/Documents/Arduino/libraries/ESP32MX1508/ESP32MX1508.cpp: In constructor 'MX1508::MX1508(uint8_t, uint8_t, uint8_t, uint8_t)':
/Users/fmorais/Documents/Arduino/libraries/ESP32MX1508/ESP32MX1508.cpp:9:3: error: 'ledcSetup' was not declared in this scope
9 | ledcSetup(_ledCH1, 2500, 8); // Setup channel at 2500Hz with 8 bit (0-255) resolution
| ^~~~~~~~~
/Users/fmorais/Documents/Arduino/libraries/ESP32MX1508/ESP32MX1508.cpp:10:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
10 | ledcAttachPin(_pinIN1, _ledCH1);
| ^~~~~~~~~~~~~
| ledcAttach
Deprecation and migration detailes here: migration_guides/2.x_to_3.0.rst#led
Metadata
Metadata
Assignees
Labels
No labels