You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: