Question: Can I get the code for this. EENG 3340 -Microprocessor Systems Lab 7-Digital Piano Description In this lab you will write a C language program
EENG 3340 -Microprocessor Systems Lab 7-Digital Piano Description In this lab you will write a C language program to simulate a simple piano keyboard. You use some of the keys on the computer's terminal to simulate the piano keys; the compute will be used to display messages, and the Microcontroller's speaker to produce the so will r screen unds. ETTITIT??TTITTTTTTTTTTTTTTI? Your program should do the following actions You should send a message to the terminal's screen, that displays the following information . EENG 3340-Lab 7 Your Name To play a note, press only one of the following keys: a, b, c, d, e.f.g, B. C, D, E, S, and the Space bar. After you display the above message on the screen, your program should be in a loop waiting for a key to be pressed .Each time you press one of the keys a-E, your program should start producing the respective musical note, as given in Table 1, and should be heard on the speaker. .Use an scope to test your notes and to demonstrate that they play at the required correct frequency Finally, when you type an S your program should play the notes of a song (the national anthem for exampl, or you can play any other song you like). You should play at least 16 notes from the song
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
