I want to make this : I have one button and three redstone lamps (lamp 1, 2 and 3). If I press the button once, the lamp 1 will turn on and will stay turned on. Then if I press the button a second time, this is the 2nd lamp that will turn on and stay turned on (and not the 1st nor the 3rd, the first will turn off), if I press the button a third time, the third lamp will turn on, and finally, if I press the button a fourth time, the first lamp will light up, ...
Each time I press the button, the lamp that is turned on will turn off and the next lamp will turn on (except for the last lamp, in which case, the first lamp will turn on)
I want to make this, without using any piston and easily generalizable to any number of lamps.
Thanks.