feat(platform): add PWM backlight brightness control

This commit is contained in:
chenjintao
2026-08-20 18:21:06 +08:00
parent 0542aadaa4
commit 988dc924b9
7 changed files with 113 additions and 5 deletions
+9
View File
@@ -452,6 +452,15 @@ esp_err_t platform_multimodal_audio_register_downstream_playback_callbacks(
esp_err_t platform_init_lcd_device(void);
/**
* @brief Set LCD backlight brightness using PWM.
*
* @param brightness_percent Brightness from 0 (off) to 100 (full).
* @return ESP_OK on success, ESP_ERR_INVALID_ARG outside the supported range,
* or ESP_ERR_INVALID_STATE before LCD initialization.
*/
esp_err_t platform_lcd_set_backlight_brightness(uint8_t brightness_percent);
/**
* @brief Start LCD render loop.
*