-
Notifications
You must be signed in to change notification settings - Fork 223
Description
Discussed in #476
Originally posted by Bwanna September 26, 2022
Hi,
I have an ESP32 with an ST7789+ STMPE610 Touch and am getting the following error msg when compiling the "diag_ard_touch_detect" sketch:
D:\Arduinofiles\libraries\GUIslice-master\examples\arduino\diag_ard_touch_detect\diag_ard_touch_detect.ino:31:4: error: #error "Only DRV_TOUCH_ADA_SIMPLE supports pin detection"
#error "Only DRV_TOUCH_ADA_SIMPLE supports pin detection"
^~~~~
D:\Arduinofiles\libraries\GUIslice-master\examples\arduino\diag_ard_touch_detect\diag_ard_touch_detect.ino:35:2: error: #error "Pin detection not supported on ARM or ESP platforms"
#error "Pin detection not supported on ARM or ESP platforms"
^~~~~
exit status 1
Compilation error: #error "Only DRV_TOUCH_ADA_SIMPLE supports pin detection"
Both the ST7789 (SPI) and the STMPE610 (I2C) are working using Adafruit sketches/drivers. However, this error is appearing here.
In "GUISLICE_CONFIG.h" the following:
#include "../configs/esp-tftespi-default-stmpe610.h"
In esp-tftespi-default-stmpe610.h" the following:
#define ADATOUCH_I2C_HW 1 // Touch controller via hardware I2C (uses ADATOUCH_I2C_ADDR)
#define ADATOUCH_SPI_HW 0 // Touch controller via hardware SPI (uses ADATOUCH_PIN_CS)
#define ADATOUCH_SPI_SW 0 // Touch controller via software SPI [not yet supported]
Any assistance would be greatly appreciated.
Can someone explain where the 'pin detection' is configured? which file? Have searched and unable to locate.
Thanks!