feat(ssd1306): added the function of setting contrast

Merges https://github.com/espressif/esp-idf/pull/18193
This commit is contained in:
MistyRainDreamX
2026-02-02 11:30:02 +08:00
committed by morris
parent 13730111e3
commit 89e3721d58
2 changed files with 12 additions and 1 deletions
@@ -24,6 +24,10 @@ typedef struct {
* @brief Display's height in pixels (64(default) or 32)
*/
uint8_t height;
/**
* @brief Display's contrast (128(default) or 0~255)
*/
uint8_t contrast;
} esp_lcd_panel_ssd1306_config_t;
/**