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

Debounce program question #6

Open
EBCrp opened this issue Nov 4, 2022 · 0 comments
Open

Debounce program question #6

EBCrp opened this issue Nov 4, 2022 · 0 comments

Comments

@EBCrp
Copy link

EBCrp commented Nov 4, 2022

SOLVED! page 40 (Listing 2-5) - "if (last != current)". I understand the use of the function but I cannot figure out where the program is finding the "last" from. I can see conceptually where the last value is coming from but I cannot figure out from a program standpoint how it is getting this value. Is "last" a keyword in arduino because other than the function itself I don't see it ever defined. Obviously the program understands it so it is clearly only me!! Sorry if this is not the right place to put such comments.

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