How would I make a 4-bit shift register with D flip flops so that only 1 LED is active at once. So for example if a button was pushed the first LED would light up and the other 3 would be off. If the button was pushed again the second led would light up and the other 3 would be off etc. I want to be able to do this with 4 LEDs.
This is what I've tried but I can't seem to be able to get it to work. Any help is appreciated as I've just started to learn.