jizyjuice
Newbie level 3

multi toggle button
I'm trying to devise a way to implement connecting different pins using one button only. I'm trying to do this all in hardware with no programming involved. Programming it would be easy, but i was wondering if this is possible in hardware.
Ex:
button pressed zero times
led 1 - off
led 2 - off
led 3 - off
button pressed once
led 1 - on
led 2 - off
led 3 - off
button pressed twice
led 1 - off
led 2 - on
led 3 - off
button pressed three times
led 1 - off
led 2 - off
led 3 - on
And repeating like so with every button press.
Any ideas? I was looking into shift registers or possibly counters and a mux?
I'm trying to devise a way to implement connecting different pins using one button only. I'm trying to do this all in hardware with no programming involved. Programming it would be easy, but i was wondering if this is possible in hardware.
Ex:
button pressed zero times
led 1 - off
led 2 - off
led 3 - off
button pressed once
led 1 - on
led 2 - off
led 3 - off
button pressed twice
led 1 - off
led 2 - on
led 3 - off
button pressed three times
led 1 - off
led 2 - off
led 3 - on
And repeating like so with every button press.
Any ideas? I was looking into shift registers or possibly counters and a mux?