Arduino. Hey i doing a timer with a 555 chip and i need help with the code

Thread Starter


Joined May 27, 2021
The idea is that i use two switches. the left switch sets the diodes to the right. for every click a diod lights up and i equal to one blink from the 555. You can maximum set the time to 10 blinks (cyels). When it is 5 seconds left the right diod goes low and then the next etc. When the time is the same as the set blinks (cycles is 0) all diods schould be low and the green diod should light up (and the 555 stops). The right switch starts the 555 timer. (The pushbuttons act like switches). For some reason the diods dosent start to go low at the right time and the last diod never goes low aswell as the green dosent go high. I need some help with the code.
here is the link to the prodject:
Mod: link delete
Last edited by a moderator: