✨ BigTreeTech TFT35 SPI V1.0 (#22986)
This commit is contained in:
committed by
Scott Lahteine
parent
e44f2b7d2d
commit
5173a3140d
@ -69,14 +69,13 @@
|
||||
|
||||
// SPI Flash
|
||||
#define HAS_SPI_FLASH 1
|
||||
#define SPI_FLASH_SIZE 0x1000000 // 16MB
|
||||
|
||||
#if HAS_SPI_FLASH
|
||||
// SPI 2
|
||||
#define SPI_FLASH_CS_PIN PB12 // SPI2_NSS / Flash chip-select
|
||||
#define SPI_FLASH_MOSI_PIN PB15
|
||||
#define SPI_FLASH_MISO_PIN PB14
|
||||
#define SPI_FLASH_SCK_PIN PB13
|
||||
#define SPI_FLASH_SIZE 0x1000000 // 16MB
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -495,6 +495,27 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if HAS_SPI_TFT
|
||||
//
|
||||
// e.g., BTT_TFT35_SPI_V1_0 (480x320, 3.5", SPI Stock Display with Rotary Encoder in BIQU B1 SE)
|
||||
//
|
||||
#define TFT_CS_PIN EXP2_07_PIN
|
||||
#define TFT_A0_PIN EXP2_04_PIN
|
||||
#define TFT_SCK_PIN EXP2_09_PIN
|
||||
#define TFT_MISO_PIN EXP2_10_PIN
|
||||
#define TFT_MOSI_PIN EXP2_05_PIN
|
||||
|
||||
#define TOUCH_INT_PIN EXP1_04_PIN
|
||||
#define TOUCH_MISO_PIN EXP1_05_PIN
|
||||
#define TOUCH_MOSI_PIN EXP1_08_PIN
|
||||
#define TOUCH_SCK_PIN EXP1_06_PIN
|
||||
#define TOUCH_CS_PIN EXP1_07_PIN
|
||||
|
||||
#define BTN_EN1 EXP2_08_PIN
|
||||
#define BTN_EN2 EXP2_06_PIN
|
||||
#define BTN_ENC EXP1_09_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
// NeoPixel LED
|
||||
//
|
||||
|
Reference in New Issue
Block a user