Support ST7789 rotation offset and boards with no chip select

Other minor changes to tidy code up
Put back in ability to call init() multiple times in sketch
This commit is contained in:
Bodmer committed 2018-07-06 18:48:24 +01:00
1 parent 6c78430d9a
commit 51ed23af0f
12 files changed
+82 -52

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@
// ###### EDIT THE PIN NUMBERS IN THE LINES FOLLOWING TO SUIT YOUR ESP8266 SETUP ######
// For NodeMCU - use pin numbers in the form PIN_Dx where Dx is the NodeMCU pin designation
#define TFT_CS PIN_D8 // Chip select control pin D8
//#define TFT_CS PIN_D8 // Chip select control pin D8
#define TFT_DC PIN_D3 // Data Command control pin
#define TFT_RST PIN_D4 // Reset pin (could connect to NodeMCU RST, see next line)
//#define TFT_RST -1 // Set TFT_RST to -1 if the display RESET is connected to NodeMCU RST or 3.3V