clean up lilygoT_HMI.h; leave DEFINE_SDMMC_1BIT disabled

This commit is contained in:
cosmicpsyop 2024-05-06 00:22:33 -07:00
parent ac6cd6a3f0
commit 3b439dbbb3

View File

@ -12,7 +12,6 @@
#define PIN_BUTTON_1 (0) #define PIN_BUTTON_1 (0)
//#define PIN_BUTTON_2 (21) //#define PIN_BUTTON_2 (21)
// touch screen // touch screen
#define TOUCH_IRQ (9) #define TOUCH_IRQ (9)
#define TOUCH_CLK (1) #define TOUCH_CLK (1)
@ -20,18 +19,6 @@
#define TOUCH_MOSI (3) #define TOUCH_MOSI (3)
#define ETOUCH_CS (2) #define ETOUCH_CS (2)
// lcd
#define LCD_DATA0_PIN (48)
#define LCD_DATA1_PIN (47)
#define LCD_DATA2_PIN (39)
#define LCD_DATA3_PIN (40)
#define LCD_DATA4_PIN (41)
#define LCD_DATA5_PIN (42)
#define LCD_DATA6_PIN (45)
#define LCD_DATA7_PIN (46)
#define PCLK_PIN (8) #define PCLK_PIN (8)
#define CS_PIN (6) #define CS_PIN (6)
#define DC_PIN (7) #define DC_PIN (7)
@ -41,19 +28,11 @@
#define LED_PIN (8) #define LED_PIN (8)
// sd card // sd card
// 1-bit SD_MMC // 1-bit SD MMC
#ifdef DEFINE_1BIT #ifdef DEFINE_SDMMC_1BIT
#define SDMMC_CLK (12) #define SDMMC_CLK (12)
#define SDMMC_CMD (11) #define SDMMC_CMD (11)
#define SDMMC_D0 (13) #define SDMMC_D0 (13)
#else
#define SDSPI_MISO (13)
#define SDSPI_MOSI (11)
#define SDSPI_CLK (12)
#endif #endif
#ifndef TFT_BL #ifndef TFT_BL