1 · First steps
SOS message in Morse code
Intermediate15 min
Goal
Send ··· ––– ··· on the LED with exact timings.
Why it matters
Your first encoding of information over time: this is already modulation.
Steps
- 01Write two functions dot() and dash() lighting the LED for 200 ms / 600 ms.
- 02Call them in the right order inside loop().
- 03Add a 1 s pause between each letter.
This tutorial runs inside the Circuitly simulator: your wiring and your code are checked automatically at every step.