Use higher PWM frequency

This commit is contained in:
fvanroie 2020-04-12 16:47:52 +02:00
parent 0445a7d045
commit e9895107c7

View File

@ -653,7 +653,7 @@ void guiSetup()
#if defined(ARDUINO_ARCH_ESP32)
// pinMode(guiBacklightPin, OUTPUT);
// configure LED PWM functionalitites
ledcSetup(BACKLIGHT_CHANNEL, 1000, 10);
ledcSetup(BACKLIGHT_CHANNEL, 20000, 10);
// attach the channel to the GPIO to be controlled
ledcAttachPin(guiBacklightPin, BACKLIGHT_CHANNEL);
#else