Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

touchscreen.begin(touchscreenSPI); issue #267

Open
hiibrarahmad opened this issue Oct 23, 2024 · 0 comments
Open

touchscreen.begin(touchscreenSPI); issue #267

hiibrarahmad opened this issue Oct 23, 2024 · 0 comments

Comments

@hiibrarahmad
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant