The programming is almost done (and VERY messy, I'm going to have to clean it up), and I've began testing with an Arduino Mega 2560.
Some bugs I've noted:
- 90% of the time, when you morse a character incorrectly, it will print "36".
- After a few characters are sent, the morsing speed begins changing erratically.
- Worst of all, every half a second or so, a "DIT"/"DOT" is sent without any action taken by the user.
Hopefully, they are all minor problems. I believe the first problem lies here:
void printPunctuation()
{
byte pMark = '#'; // Just in case nothing matches
if (myNum == 71)
pMark = ':';
if (myNum == 76)
pMark = ',';
if (myNum == 84)
pMark = '!';
if (myNum == 94)
pMark = '-';
if (myNum == 101)
pMark = '@';
if (myNum == 106)
pMark = '.';
if (myNum == 115)
pMark = '?';
Serial.print(pMark);
}
The second and third issues are more of a mystery, and I need to make all the wait times for sending morse proportional, but we're getting there :)
-Ana
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.