Arduino Forum
Use button state change to bypass "tricky" boolean logic?
Using Arduino
Programming Questions
Grumpy_Mike
November 20, 2013, 4:09pm
5
if (buttonState != lastButtonState && buttonState == LOW) {
show post in topic
Related Topics
Topic
Replies
Views
Activity
Momentary Switch as Toggle
Programming Questions
5
2665
May 5, 2021
Logic help
Programming Questions
2
953
May 5, 2021
logic help
Programming Questions
21
4504
May 5, 2021
Changing boolean state with two buutons
Programming Questions
11
681
May 6, 2021
State Machine or Event Driven programming
Programming Questions
3
1376
May 5, 2021