Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

App Inventor

Authors: David Wolber, Hal Abelson

1st Edition

1449397484, 9781449397487

More Books

Students also viewed these Programming questions