From 7a97820ce0194b9204bcb8093e5723dd187f72b9 Mon Sep 17 00:00:00 2001 From: drjones Date: Sun, 5 Jul 2026 10:44:29 -0700 Subject: [PATCH] Restore physical board's actual LCD wiring pinout (MOSI=39, SCLK=38, CS=21, DC=45, RST=40, BK_LIGHT=46) to fix black screen --- sound_picture_app/Display_ST7789.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sound_picture_app/Display_ST7789.h b/sound_picture_app/Display_ST7789.h index 2fde54f..f3386c1 100644 --- a/sound_picture_app/Display_ST7789.h +++ b/sound_picture_app/Display_ST7789.h @@ -6,12 +6,12 @@ #define SPIFreq 80000000 #define EXAMPLE_PIN_NUM_MISO -1 -#define EXAMPLE_PIN_NUM_MOSI 45 -#define EXAMPLE_PIN_NUM_SCLK 40 -#define EXAMPLE_PIN_NUM_LCD_CS 42 -#define EXAMPLE_PIN_NUM_LCD_DC 41 -#define EXAMPLE_PIN_NUM_LCD_RST 39 -#define EXAMPLE_PIN_NUM_BK_LIGHT 48 +#define EXAMPLE_PIN_NUM_MOSI 39 +#define EXAMPLE_PIN_NUM_SCLK 38 +#define EXAMPLE_PIN_NUM_LCD_CS 21 +#define EXAMPLE_PIN_NUM_LCD_DC 45 +#define EXAMPLE_PIN_NUM_LCD_RST 40 +#define EXAMPLE_PIN_NUM_BK_LIGHT 46 #define Frequency 1000 // PWM frequencyconst #define Resolution 10