mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
feat(ssd1306): added the function of setting contrast
Merges https://github.com/espressif/esp-idf/pull/18193
This commit is contained in:
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user