Morse Code and Storing it in Embedded C
The Morse Code has a illustrious history in long distance communication. Before the telegraph and the telephone, the Morse code was used in long distance communication. It consists of a series of dots and dashes. But the Morse code has a problem. It has a limited number of characters and each character has different number of bits. For example, in Morse code ‘J’ is represented as ‘. – – -‘ (dot, dash, dash, dash) and ‘Z’ is represented as ‘- – . .’ (dash, dash, dot, dot).
So ASCII was created. Now, ASCII is the most common code used in electronics. But what if you want to use a LED device to transmit messages in the Morse code? How do you convert the dots and dashes in the Morse code into computer code. Basically, how will you convert the dots and dashes into embedded C programming language?
Recently, some enterprising embedded developers got together and found a solution to this interesting problem. But there are other issues involved too. Embedded devices are very fast and the code produced should be transmitted at a speed that a human can read. The Morse code is still very relevant so these developments are welcome.