Hi,
I have been trying to make a simple Pushbutton counter that adds up everytime a button is pressed.
I am using the SparkFun 7 Segment serial display and a simple push button. https://www.sparkfun.com/products/11442
I did not find anything similar in their example library, just tried to follow a tutorial online but it uses different hardware.
http://missionduke.com/wordpress/2011/05/arduino-button-press-counter/
The tutorial kinda works but the numbers appear randomly on the screen, meaning it does not count 0001,0002,0003,0004,0005... It counts 0100, 0002, 0300, 0004, 0500, ....
So it is a little bit confused.
If anyone can recommend a good example or an idea how to make it simply work. Appreciated a lot!!!
I have been trying to make a simple Pushbutton counter that adds up everytime a button is pressed.
I am using the SparkFun 7 Segment serial display and a simple push button. https://www.sparkfun.com/products/11442
I did not find anything similar in their example library, just tried to follow a tutorial online but it uses different hardware.
http://missionduke.com/wordpress/2011/05/arduino-button-press-counter/
The tutorial kinda works but the numbers appear randomly on the screen, meaning it does not count 0001,0002,0003,0004,0005... It counts 0100, 0002, 0300, 0004, 0500, ....
So it is a little bit confused.
If anyone can recommend a good example or an idea how to make it simply work. Appreciated a lot!!!