for a school project I am making a game: Simon Says.
I am using an Arduino Nano board with a breadboard. I have 4 buttons with 4 lights. to play the game you need to push the right button, which the light shows.
I want to add a buzzer to the game, so that when you click on the wrong button, a buzzer will go off.
can someone help me where do I place the passive buzzer on the board? and what code do I need to use?