mirror of
https://github.com/apache/nuttx.git
synced 2025-12-09 19:54:55 +08:00
boards/esp32s3: Increase LCD PWM frequency to reduce LCD flicker
Increase LCD PWM frequency from 100Hz to 10kHz to eliminate visible flicker on the lckfb-szpi ESP32S3 board. The higher frequency provides smoother backlight control and improves display visual quality. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
#define GPIO_LCD_RST (-1)
|
||||
#define SZPI_LCD_CS_PATH "/dev/gpio0"
|
||||
#define SZPI_LCD_PWM_PATH "/dev/pwm0"
|
||||
#define SZPI_LCD_PWM_FREQ (100)
|
||||
#define SZPI_LCD_PWM_FREQ (10000)
|
||||
#define SZPI_LCD_PWM_DUTY (0xe666) /* 0x1 ~ 0xffff */
|
||||
|
||||
#define FT5X06_I2C_ADDRESS (0x38)
|
||||
|
||||
Reference in New Issue
Block a user