Hello All,
I built a pair of seven segment displays using the WS2812B LEDs. Its very simple, just one LED per segment. What I am trying to do is make a counter that counts from 00 to 99. I am able to count from 0 to 9 but thats where I get stuck.
In my sketch, I am using a int counter=0 and just incrementing it with every button press. I created an if statement that checks the count and if it is = to 1, it will turn on the proper LEDs, if count = 2 it will turn on the LEDs to make a 2 and so on. I am not sure how to count higher than 9.
Can someone give me some ideas how to proceed?
Thanks
boB