ArduinoA
Arduino2mo ago
12 replies
Halcyon

Morse Code on Pin 13 LED (Arduino Uno)

Answered
I am currently attempting to make a program on an Arduino Uno that takes in a string from the terminal, then spits back out the morse code of said string in a translated form using "." and "-" and flashes the led on pin 13 (with a slightly simplified timing compared to the PARIS method). I have gotten the code for the terminal IO to work correctly but the LED is consistently skipping some flashes and I can't trace exactly what is causing the issue.
The program I've written is split into two images: Loop (the main function) and the functions for dot, dash and space
void_loop.png
function_calls.png
Was this page helpful?