Unit A · On the network
What we are making: nothing new — a blink. But on a board you have never used, through a toolchain that is not yet installed. That is the whole session, and it is not a waste of one.

Every professional project starts exactly like this: get the smallest possible thing running on the real hardware, before you write a line of the thing you actually care about. If you cannot blink an LED, nothing you write afterwards will tell you anything useful, because you will never know whether the problem is your code or your setup.
Once per computer. It takes a while and downloads a few hundred megabytes, so start it and read on while it runs.
Familiar, with one difference: the pin number.
const int means a number with a name that never changes. Better than typing 2 everywhere.Press upload. Watch the output window. On many ESP32 boards you will see
Connecting........ and then it goes.
Connecting........_____ and fails: hold down the BOOT button on the board, press upload, and keep holding until you see 'Writing at'. Some boards need this every single time. It is normal and it is not your fault.Three things, and you will meet all three today or in Session 2.
| What you see | Why | What to do |
|---|---|---|
| Unreadable characters in the monitor | Baud mismatch. | Set the monitor dropdown to 115200. |
| Connecting........ then timeout | Board not in boot mode, or bad cable. | Hold BOOT while uploading. Then try another cable. |
| Uploads fine, nothing blinks | Your board's LED is not on GPIO 2. | Try 2, then 5, then 16. Or wire an external LED with a 220Ω resistor. |
| Board resets over and over | Brown-out — not enough current from that USB port. | Use a different port, or a powered hub. Laptop front ports are often weak. |
In this session