Capacitive Touch Screen (GT911) for SKR SE BX (#21843)

Co-authored-by: Msq001 <alansayyeah@gmail.com>
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
BigTreeTech
2021-05-09 10:02:16 +08:00
committed by Scott Lahteine
parent f3e199fcd2
commit ac11c689f7
14 changed files with 425 additions and 62 deletions

View File

@ -207,11 +207,21 @@
#define LCD_B4_PIN PI4
#define LCD_B3_PIN PG11
// GT911 Capacitive Touch Sensor
#if ENABLED(TFT_TOUCH_DEVICE_GT911)
#define GT911_RST_PIN PE4
#define GT911_INT_PIN PE3
#define GT911_SW_I2C_SCL_PIN PE2
#define GT911_SW_I2C_SDA_PIN PE6
#endif
#endif
#define BTN_EN1 PH6
#define BTN_EN2 PH7
#define BTN_ENC PH8
#if IS_NEWPANEL
#define BTN_EN1 PH6
#define BTN_EN2 PH7
#define BTN_ENC PH8
#endif
#ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION ONBOARD