Allow DMA for RPi MHS 4.0 ST7796 display

Plus minor comment tweaks
This commit is contained in:
Bodmer
2020-11-19 15:35:14 +00:00
parent df23e14675
commit abe5a442b6
2 changed files with 8 additions and 3 deletions

View File

@@ -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

View File

@@ -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