Update display configuration in Cat Medication Tracker: change display platform to mipi_spi and adjust color depth and buffer size
This commit is contained in:
@@ -68,7 +68,7 @@ spi:
|
||||
|
||||
# ILI9488 Display (3.5" 320x480, portrait)
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
- platform: mipi_spi
|
||||
model: ILI9488
|
||||
spi_id: tft_spi
|
||||
cs_pin: GPIO15
|
||||
@@ -84,7 +84,9 @@ display:
|
||||
id: my_display
|
||||
auto_clear_enabled: false
|
||||
update_interval: 2s
|
||||
color_palette: 8BIT
|
||||
color_depth: 8
|
||||
# Keep memory usage low without PSRAM: draw only a quarter of the screen per chunk.
|
||||
buffer_size: 25%
|
||||
lambda: |-
|
||||
// Colors
|
||||
auto red = Color(255, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user