u/snikcres

Image 1 — Need help for a game
Image 2 — Need help for a game
Image 3 — Need help for a game
Image 4 — Need help for a game
Image 5 — Need help for a game
Image 6 — Need help for a game
▲ 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