Data Sheet

46 : circuit 2b
TROUBLESHOOTING
The buzzer is too loud
or too quiet
Turn the potentiometer to adjust the volume.
The RedBoard thinks
one key is always
pressed
Check your wiring. You may have GND and 5V backward if one
or more buttons behave as though they’re pressed all the time.
The buttons are
not working
First, make sure that the wiring is correct. It is easy to misalign
a wire with a button leg. Second, make sure that you have
declared your buttons as inputs and have enabled the internal
pull-up resistors with
INPUT_PULLUP.
A B
BUZZER
DIGITAL
TRUMPET
“SIMON SA
YS” GAME
You’ve completed
Circuit 2B!
Continue to circuit 2C and learn how to build your own game using buttons and LEDs.
C
SIK v4 Book Oct 13.indb 46 10/18/17 10:00 AM