mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00: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:
parent
0625efa965
commit
2ecd2722cd
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue