Add capability to read TFT SDA bi-directional pin

Tested on an ESP32 with ST7789V display
SDA read is very slow on an ESP8266 (to be investigated)
Added new setup #define TFT_SDA_READ
Add new ESP32 and ESP8266 compatible in example/Generic folder to test
capture of TFT screen
This commit is contained in:
Bodmer
2018-11-23 03:09:07 +00:00
parent 419a7ef8de
commit 1cf2305e4d
8 changed files with 1117 additions and 12 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
/***************************************************************************************
** Function name: getTouchRaw
** Description: read raw touch position. Return false if not pressed.
** Description: read raw touch position. Always returns true.
***************************************************************************************/
uint8_t TFT_eSPI::getTouchRaw(uint16_t *x, uint16_t *y){
uint16_t tmp;