Restore official Waveshare display register init sequence and LEDC backlight driver to fix blank display screen
This commit is contained in:
@@ -4,10 +4,13 @@
|
||||
#include "FS.h"
|
||||
#include "SD_MMC.h"
|
||||
|
||||
// SD card MMC pins (1-bit mode to avoid GPIO 21 conflict with LCD_CS)
|
||||
// SD card MMC pins (4-bit mode, fully compatible now LCD_CS is on GPIO 42)
|
||||
#define SD_CLK_PIN 14
|
||||
#define SD_CMD_PIN 15
|
||||
#define SD_D0_PIN 16
|
||||
#define SD_D1_PIN 18
|
||||
#define SD_D2_PIN 17
|
||||
#define SD_D3_PIN 21
|
||||
|
||||
#define MAX_MEMORIES 50
|
||||
#define MAX_NAME_LEN 64
|
||||
|
||||
Reference in New Issue
Block a user