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.
More faults on this board
Change a value here or click a chip in the code.
About 14 mA: bright, and safe for the LED and the pin.
Your first circuit: an LED and a resistor on the breadboard, driven by pin 13. Change the timing and the resistor and see what each does.
| Pin | Connects to | What it does |
|---|---|---|
D13 | Resistor, then the LED's long leg | Switches the LED: HIGH lights it. |
GND | The LED's short leg | Where the current goes back to. |
Sensors and actuators this board drives, with the real connections.
Anode (long leg) toward the pin, cathode to GND, with a 220 Ω to 1 kΩ resistor in series.
| Part pin | Board pin |
|---|---|
| A | D13Wire colour orange |
| K | GNDWire colour black |
Never without the resistor: the pin would try to push over 100 mA through the LED.