mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-08 15:14:43 +02:00
Allow DMA for RPi MHS 4.0 ST7796 display
Plus minor comment tweaks
This commit is contained in:
@@ -1,15 +1,18 @@
|
|||||||
// Setup for the TTGO T4 ("Bitcoin Tracker") ESP32 board with 2.2" ILI9341 display
|
// Setup for the TTGO T4 v1.1 ("Bitcoin Tracker") ESP32 board with 2.2" ILI9341 display
|
||||||
|
|
||||||
// See SetupX_Template.h for all options available
|
// See SetupX_Template.h for all options available
|
||||||
|
|
||||||
#define ILI9341_DRIVER
|
#define ILI9341_DRIVER
|
||||||
|
|
||||||
|
//#define TFT_BACKLIGHT_ON HIGH // LED control for TTGO T4 v1.3 only
|
||||||
|
//#define TFT_BL 4
|
||||||
|
|
||||||
#define TFT_MISO 12
|
#define TFT_MISO 12
|
||||||
#define TFT_MOSI 23
|
#define TFT_MOSI 23
|
||||||
#define TFT_SCLK 18
|
#define TFT_SCLK 18
|
||||||
|
|
||||||
#define TFT_CS 27
|
#define TFT_CS 27
|
||||||
#define TFT_DC 26
|
#define TFT_DC 26 // pin 32 for TTGO T4 v1.3
|
||||||
#define TFT_RST 5
|
#define TFT_RST 5
|
||||||
|
|
||||||
#define LOAD_GLCD
|
#define LOAD_GLCD
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
// Setup for the TTGO T4 v1.3 ESP32 board with 2.2" ILI9341 display
|
// Setup for the TTGO T4 v1.3 ESP32 board with 2.2" ILI9341 display
|
||||||
|
|
||||||
|
// See SetupX_Template.h for all options available
|
||||||
|
|
||||||
#define ILI9341_DRIVER
|
#define ILI9341_DRIVER
|
||||||
|
|
||||||
#define TFT_BACKLIGHT_ON HIGH
|
#define TFT_BACKLIGHT_ON HIGH
|
||||||
@@ -10,7 +12,7 @@
|
|||||||
#define TFT_SCLK 18
|
#define TFT_SCLK 18
|
||||||
|
|
||||||
#define TFT_CS 27
|
#define TFT_CS 27
|
||||||
#define TFT_DC 32
|
#define TFT_DC 32 // pin 26 for TTGO T4 v1.3 <<<<<<<<<<< Note
|
||||||
#define TFT_RST 5
|
#define TFT_RST 5
|
||||||
|
|
||||||
#define LOAD_GLCD
|
#define LOAD_GLCD
|
||||||
|
Reference in New Issue
Block a user