From abe5a442b64057afaf1fb89524599d0a4bfbe1a0 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Thu, 19 Nov 2020 15:35:14 +0000 Subject: [PATCH] Allow DMA for RPi MHS 4.0 ST7796 display Plus minor comment tweaks --- User_Setups/Setup22_TTGO_T4.h | 7 +++++-- User_Setups/Setup22_TTGO_T4_v1.3.h | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/User_Setups/Setup22_TTGO_T4.h b/User_Setups/Setup22_TTGO_T4.h index a62af13..31f601e 100644 --- a/User_Setups/Setup22_TTGO_T4.h +++ b/User_Setups/Setup22_TTGO_T4.h @@ -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 #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_MOSI 23 #define TFT_SCLK 18 #define TFT_CS 27 -#define TFT_DC 26 +#define TFT_DC 26 // pin 32 for TTGO T4 v1.3 #define TFT_RST 5 #define LOAD_GLCD diff --git a/User_Setups/Setup22_TTGO_T4_v1.3.h b/User_Setups/Setup22_TTGO_T4_v1.3.h index 46f1680..fe51989 100644 --- a/User_Setups/Setup22_TTGO_T4_v1.3.h +++ b/User_Setups/Setup22_TTGO_T4_v1.3.h @@ -1,5 +1,7 @@ // 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 TFT_BACKLIGHT_ON HIGH @@ -10,7 +12,7 @@ #define TFT_SCLK 18 #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 LOAD_GLCD