In this video I used an arduino leonardo and a led to make a Morse code translator, It will work fine on most arduinos, if you have any problems please let me know.
Step 1: Programing
Open the arduino IDE and select your arduino board, make sure your arduino is plugged in, select the right serial port, copy my code paste in the arduino IDE and click upload.
Step 2: Hardware Connections, More Ideas.
Connect the led with the longer lead in gnd and the shorter one in 13.
You could hook it up to a buzzer, a relay connected to a light bulb etc.
This is an entry in the
Arduino Contest 2019