How do you plan to solve it?
Connect button between input pin and GND, connect each LED with resistor between output pin and GND, then use code to cycle through LED patterns on each button press.
/*Paste your code here*/ https://wokwi.com/projects/443181531674669057
Add a video of the output (know more)
Submit Your Solution