This project is to create a program that does a couple of things. First, it has to take input from the code key and translate the dots and dashes that are entered by the key and turn them into letters of the alphabet. Second, it has to prompt the user for a sentence and then translate each of the words in the sentence into the dots and dashes that represent the words in the sentence. Then it has to output the dots and dashes through the LED and the buzzer. Finally, it uses a pushbutton to exit from the program.
One important hardware note, the buzzer I'm using generates it's own tone, so it just needs to have a voltage applied to it to generate the sound. Many buzzers need to be connected to an oscillating circuit that generates a signal for the buzzer to produce.