init Files
This commit is contained in:
31
libraries/TFT_eSPI/User_Setups/Setup70h_ESP32_S3_GC9A01.h
Normal file
31
libraries/TFT_eSPI/User_Setups/Setup70h_ESP32_S3_GC9A01.h
Normal file
@@ -0,0 +1,31 @@
|
||||
// Setup for the ESP32 S3 with GC9A01 display
|
||||
|
||||
#define USER_SETUP_ID 70
|
||||
|
||||
|
||||
|
||||
#define GC9A01_DRIVER
|
||||
|
||||
|
||||
|
||||
#define TFT_WIDTH 240
|
||||
|
||||
#define TFT_HEIGHT 240
|
||||
|
||||
// Typical board default pins - change to match your board
|
||||
|
||||
#define TFT_CS 10 //34 // 10 or 34 (FSPI CS0)
|
||||
|
||||
#define TFT_MOSI 11 //35 // 11 or 35 (FSPI D)
|
||||
|
||||
#define TFT_SCLK 12 //36 // 12 or 36 (FSPI CLK)
|
||||
|
||||
#define TFT_MISO 13 //37 // 13 or 37 (FSPI Q)
|
||||
|
||||
|
||||
|
||||
// Use pins in range 0-31
|
||||
|
||||
#define TFT_DC 7
|
||||
|
||||
#define TFT_RST 6
|
||||
Reference in New Issue
Block a user