Skip to main content
4 events
when toggle format what by license comment
Jan 26, 2018 at 22:54 comment added Michel Keijzers The delay of 500 ms might be tricky. That means that for every button you press, you also have to store the time. So you can check if 500 ms have been passed since that press and blink the corresponding LED. Maybe it helps do create the program first for one button and one LED (with 500 ms delay) and than add more buttons/LEDs. Mostly it's better to gradually extend the program instead of going directly to the end goal.
Jan 26, 2018 at 18:22 comment added Sudhanshu Shivam thanks a lot. It helped me store the button sequence. If you can please suggest me how can I blink the LEDs in same sequence as stored in the array with an delay of 500 millisecond. I am posting my code in the answer section please have a look.
Jan 26, 2018 at 18:15 vote accept Sudhanshu Shivam
Jan 26, 2018 at 11:40 history answered Michel Keijzers CC BY-SA 3.0