Question: Department of Electrical and Computer Engineering EENG 3340- Microprocessor Systems Lab 7- Digital Piano Description In this lab you will write a C language program

Department of Electrical and Computer Engineering

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 WIL use some of the keys on the computer's terminal to simulate the piano keys; the computer sre will be used to display messages, and the Microcontroller's speaker to produce the sounds

Your program should do the following actions:

EENG 3340- Microcontrollers Lab 7 Your Name To play a note, press only one of the following keys: a, b, c, d, e.f&, B, C, D, E, S, and the Space bar .

Afer you display the above message on the screen, your program should be in a loop waiting for a key to be pressed

Each spectiveia ofthe keys a-E, your program should start producing the connected to one pin of the Arduino. 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 63

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!