70Views3Replies

Author Options:

How to count the number of the button is pressed and use another button to erase the count. Answered

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?

Tags:arduino

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
izzaty.anuar
izzaty.anuar

6 years ago

i'm still new with this. I don't know much about this

0
mpilchfamily
mpilchfamily

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.

0
iceng
iceng

Answer 6 years ago

+1