I'm using the library EasyMorse and I can get the Morse code to print out in lines and dashes but i cant get the command morse.getChar() to work it doesn't give an error message but it just doesn't work
morse.getChar() could return zero ('\0').
Then the morse.clear() erases anything that was in the buffer.
Edit: It appears the morse.getChar() function returns zero if nothing in the buffer. Just keep checking until not zero. Don't morse.clear() unless in setup().