Unit C · Circuits and sensing
What we are making: a light on the board that turns itself on and off, over and over — and then we change how fast it does it.

The board is a tiny computer that does nothing until you give it a program. You build the program here, upload it down the cable, and from then on it lives on the board — unplug the computer and it keeps going.
Nothing to wire. The board has its own small LED on pin 13, fitted at the factory.

Clip these together in this order. The four middle blocks sit inside the forever block.

What should happen: on for a second, off for a second, forever. Now pull the USB cable out and plug it back in. It starts again on its own — the program is on the board.
| What you see | Why | What to do |
|---|---|---|
| No board in the Connect list | Usually a charge-only USB cable, or the driver has not installed yet. | Try a different cable first. If that fails, unplug, wait ten seconds, plug back in. |
| Upload starts but fails part way | Something else is using the board's connection. | Close the serial monitor window if it is open, then upload again. |
| Upload says it worked, but nothing blinks | The program probably went to the wrong pin number. | Check the blocks both say pin 13, not 3 or 1. |
| It blinks far too fast to see | The wait blocks are missing or set to 0. | Make sure there is a wait block after both the HIGH and the LOW. |
In this session