Bodmer / TFT_eSPI

Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
Other
3.66k stars 1.05k forks source link

'class TFT_eSPI' has no member named 'setTouch' #454

Closed Paul-Ernest closed 4 years ago

Paul-Ernest commented 4 years ago

Hi Bodmer and thanks a lot for the library.

I have a esp32 TTGO-T1, use with ili9431


User_Setup.h

define TFT_MISO 19

define TFT_MOSI 23

define TFT_SCLK 18

define TFT_CS 22

define TFT_DC 21

define TOUCH_CS 16


User_Setup_Select.h

include <User_Setups/Setup1_ILI9341.h>


TFT_eSPI.h

define ESP32


I receive this: 'class TFT_eSPI' has no member named 'setTouch' when to try upload file = Touch_Controler_Demo

Thanks

Paul-Ernest commented 4 years ago

I've find my bug, thanks for all Bodmer.

Bodmer commented 4 years ago

You need to comment out this line, enable this line and add your TOUCH_CS pin definition to Setup1_ILI9341.h

Paul-Ernest commented 4 years ago

thank you very much from Montréal.

philoupsss commented 1 year ago

bonjour j'ai un esp32 flasher avec marauder, un flipper zero et un ecran TFT SPI, j'ai trouvé comment faire tous les câblages mais il me manque la partie code, pourriez vous m'indiquer un tuto débutant svp ?