Morse code encoding and decoding on the TI MSP430 LaunchPad