From 31aaab69b75cd703be5ea5b077c3a6ab990acfc5 Mon Sep 17 00:00:00 2001 From: Joshua King Date: Fri, 6 Mar 2026 12:43:47 -0500 Subject: [PATCH] Update display configuration in Cat Medication Tracker: change display platform to mipi_spi and adjust color depth and buffer size --- esphome/cat-medication-tracker.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/esphome/cat-medication-tracker.yaml b/esphome/cat-medication-tracker.yaml index b592241..cb0cb70 100644 --- a/esphome/cat-medication-tracker.yaml +++ b/esphome/cat-medication-tracker.yaml @@ -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);