Question: Write a C program that will do the following: 1 . Send Ready: message from the dragon 1 2 board to the serial terminal in
Write a C program that will do the following:
Send Ready: message from the dragon board to the serial terminal in the computer using the serial communication interface in the HCS
Wait until the user pushes a SW
Once pushed, the program will make a random delay between to seconds.
After that delay, your program will turn on LED and make a tone Hz on the speaker.
Once the user pushes SW the tone should stop and LED should go off.
Your program will then calculate the time interval in millisecond starting from turning on LED until pushing SW
Send Your Time Reaction is: T ms to the serial terminal in the computer where T represents that reaction time.
Go back to step
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
