Python script that converts text to Morse Code and blink a LED light using Raspberry Pi's GPIO
To build the circuit you will need
- 2 Jumper Cables
- 1 220 ohms resistor
- 1 LED
Electricity Path:
Pin 18 (GPIO 24) → Jumper → BreadBoard → Resistor → LED → Breadboard → Jumper → Pin 6 (Ground)
If you don't have a breadboard, you should be fine taping everything.
Just run the ledblinkRaspberry.py
file with superuser privileges (root).
(You obviously need to have Python installed).