Open
Description
src/main.cpp: In function 'void setup()':
src/main.cpp:21:35: error: no matching function for call to 'XPT2046_Touchscreen::begin(SPIClass&)'
touchscreen.begin(touchscreenSPI);
^
In file included from src/main.cpp:3:
.pio/libdeps/esp-wrover-kit/XPT2046_Touchscreen/XPT2046_Touchscreen.h:46:7: note: candidate: 'bool XPT2046_Touchscreen::begin()'
bool begin();
^~~~~
.pio/libdeps/esp-wrover-kit/XPT2046_Touchscreen/XPT2046_Touchscreen.h:46:7: note: candidate expects 0 arguments, 1 provided
*** [.pio\build\esp-wrover-kit\src\main.cpp.o] Error 1
i just run the example code and it give this issue
Metadata
Metadata
Assignees
Labels
No labels