the old ledcAttachPin is a void function not able to return succes boolean, this makes the library crash when compiling with ESP_ARDUINO_VERSION < 3.0.0, this changes fixes issue #58, tested and compiled succesfully for my dev esp32c3 board with ESP_ARDUINO_VERSION = 2.0.9
the old ledcAttachPin is a void function not able to return succes boolean, this makes the library crash when compiling with ESP_ARDUINO_VERSION < 3.0.0, this changes fixes issue #58, tested and compiled succesfully for my dev esp32c3 board with ESP_ARDUINO_VERSION = 2.0.9