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

Decalring SetHandler time #38

Closed
rassalrich opened this issue Apr 27, 2022 · 3 comments
Closed

Decalring SetHandler time #38

rassalrich opened this issue Apr 27, 2022 · 3 comments
Labels

Comments

@rassalrich
Copy link

Hi I am trying to use your library for my code, everything seems to be working on compile. However, I am getting an error code saying src\main.cpp: In function 'void setup()':
src\main.cpp:89:27: error: 'click' was not declared in this scope
buttonA.setClickHandler(click);

I am using the multiple buttons part from your code

@LennartHennigs
Copy link
Owner

Hey, did you define a function called click() in your source code?
This is what the compiler is looking for.

@rassalrich
Copy link
Author

No, I haven't defined the same, since your example code had no part defining the same. How would you advice to have the same defined?

@LennartHennigs
Copy link
Owner

LennartHennigs commented Apr 27, 2022 via email

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

No branches or pull requests

2 participants