lovyan03 / LovyanGFX

SPI LCD graphics library for ESP32 (ESP-IDF/ArduinoESP32) / ESP8266 (ArduinoESP8266) / SAMD51(Seeed ArduinoSAMD51)
Other
1.02k stars 187 forks source link

fix Light_PWM backlight not works under arduino-esp32 v3.0 (IDF 5) #511

Closed WuSiYu closed 3 months ago

WuSiYu commented 3 months ago

With arduino-esp32 v3.0, in the new ledcWrite() API we should use the GPIO pin number instead of pwm channel number (ref).

lovyan03 commented 3 months ago

@WuSiYu Thanks for your PR !