70Views3Replies
How to count the number of the button is pressed and use another button to erase the count.
I want to know about how to count the number of the button pushed and how to display it on lcd.At the same time the count can be erase to 0 to start another counting. Is there any sketch or schematic that you can suggest to me?
Comments
6 years ago
i'm still new with this. I don't know much about this
6 years ago
Assuming your talking about Arduino there are many sketches out there. Just a matter of using a tracking variable. If button 1 is pressed add 1 to the variable. If button 2 is pressed store zero to the variable. How to display it on the LCD depends on the LCD you use and what library you use to run the display. Check the Arduino forums for more details.
Answer 6 years ago
+1