Code for Final Project for PES, ECEN-5813, Fall 2021
This is a method used in telecommunication to encode text characters as standardized sequences of two different signal durations, called dots and dashes
This project uses FRDM-KL25Z as a MORSE code interpreter device. The development of this project involves PWM, TIMER, circular buffers, GPIO, and UART using interrupts.
MORSE code interpreter works here in two ways. When the user taps the button, it will be interpreted as the MORSE code, or when the user enters the string from the terminal it will be translated into the Morse code and interpreted using LED.
Figure 1: UART Terminal screenshot
https://drive.google.com/file/d/1LgoO2Ni2UW6Yw-ez4Pn-ZqQDV5Ggl0y8/view?usp=sharing
Video Description: Video includes the program running in release mode. First it displays the intialization sequence by displaying Morse code for the characters from A - F. Then it includes the converion of Morse code from the button to character and Character to Morse code.
In Character to Code convertion, the interpreter goes on converting each character of the string. When a invalid character is detected, it displays Invalid and continues with the string.
Below screenshots shows the testing techniques and sequence, which basically includes uCUnit test to check the Converion modules and some asserting to test other functinality.