Connect 4 LEDs and one push button switch to the microcontroller’s GPIO pins and implement the following patterns on LEDs.
Pressing the push button will shift LEDs to the next pattern.