lovyan03 / LovyanGFX

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

Change PWM bitdepth to SOC_LEDC_TIMER_BIT_WIDTH and freq to 1200 #643

Closed CelliesProjects closed 1 week ago

CelliesProjects commented 1 week ago

This PR sets the esp32 ledc backlight PWM to 1200Hz and bitdepth to SOC_LEDC_TIMER_BIT_WIDTH.

This makes for smoother dimming and keep the full ledc bitdepth available on the remaining ledc channels.

See #642