Loading the figure…
Stopped · Your code isn't running yet. Until you press Run, the board runs the program already on it.
Nothing printed yet. Press Run.
Not checked yet
Run your code to check it. The checks replay a fixed script on a virtual clock, so the same code always gets the same result.
Each fault really happens in the simulation. Trigger one, watch the figure, then read why.
Play the world: press, slide and turn the parts while the code runs.
Change a value here or click a chip in the code.
Eight buttons on D2-D9, one buzzer on D10. The internal pull-ups save eight resistors, and the sketch plays whichever key is down.
| Pin | Connects to | What it does |
|---|---|---|
D2-D9 | One side of each key | Pulled up inside the chip; a press pulls the pin to GND. |
D10 | The buzzer's + leg | Plays the note with tone(). |
GND | The other side of every key, and the buzzer | The ground rail along the top of the breadboard. |
Sensors and actuators this board drives, with the real connections.