





▲ 18 r/arduino
Need help for a game
Hello I’m making an arduino memory game with 4 LEDs and 4 push buttons. Game should start by flickering one of the leds and player should mimic it with buttons. Sequence is generated randomly. If the player fails, all leds will flicker 3 times. I’m kinda new to all of this stuff, and I don’t code(sorry if I don’t understand something). I used Claude for the code.
One of the LEDs flickers randomly when I upload the code. What could be the problem? I don’t think buttons work too.
u/snikcres — 12 hours ago