mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-05 21:54:42 +02:00
Add text for ESP8266 overlap mode, add workaround for ESP32 silicon bug
This commit is contained in:
@@ -102,7 +102,7 @@
|
|||||||
//#define CS_L digitalWrite(TFT_CS, HIGH); GPIO.out_w1tc = (1 << TFT_CS)//digitalWrite(TFT_CS, LOW)
|
//#define CS_L digitalWrite(TFT_CS, HIGH); GPIO.out_w1tc = (1 << TFT_CS)//digitalWrite(TFT_CS, LOW)
|
||||||
//#define CS_H digitalWrite(TFT_CS, LOW); GPIO.out_w1ts = (1 << TFT_CS)//digitalWrite(TFT_CS, HIGH)
|
//#define CS_H digitalWrite(TFT_CS, LOW); GPIO.out_w1ts = (1 << TFT_CS)//digitalWrite(TFT_CS, HIGH)
|
||||||
#define CS_L GPIO.out_w1ts = (1 << TFT_CS);GPIO.out_w1tc = (1 << TFT_CS)
|
#define CS_L GPIO.out_w1ts = (1 << TFT_CS);GPIO.out_w1tc = (1 << TFT_CS)
|
||||||
#define CS_H GPIO.out_w1ts = (1 << TFT_CS)
|
#define CS_H GPIO.out_w1tc = (1 << TFT_CS);GPIO.out_w1ts = (1 << TFT_CS)
|
||||||
#else
|
#else
|
||||||
#define CS_L GPOC=cspinmask
|
#define CS_L GPOC=cspinmask
|
||||||
#define CS_H GPOS=cspinmask
|
#define CS_H GPOS=cspinmask
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
#define TFT_CS PIN_D3
|
#define TFT_CS PIN_D3
|
||||||
#define TFT_DC PIN_D5 // Data Command control pin
|
#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
@@ -95,6 +95,10 @@
|
|||||||
|
|
||||||
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
// ###### FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES ######
|
||||||
|
|
||||||
|
// Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
|
||||||
|
// but saves pins for other functions.
|
||||||
|
// Use NodeMCU SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
|
||||||
|
|
||||||
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
// In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
|
||||||
//#define TFT_CS PIN_D3
|
//#define TFT_CS PIN_D3
|
||||||
//#define TFT_DC PIN_D5 // Data Command control pin
|
//#define TFT_DC PIN_D5 // Data Command control pin
|
||||||
|
Reference in New Issue
Block a user