Question: Write a C program to emulate a simple clock that shows current time on the host s display through the TeraTerm Emulator. The clock program
Write a C program to emulate a simple clock that shows current time on the host s display through the TeraTerm Emulator. The clock program has two parts: part#1) Setting the Time Part#2) Displaying Time using Nested-loop statement. The Clock program should print a message to the user ask him/her to enter the values of Hour, Minutes, and Seconds. After a user enter the required information, the program will move to display mode. This program should be run on the mbed MCU. The messages and the time should be displayed on the hosts display through the TeraTerm Emulator, while the required data for this program should be entered through the Teraterm Emulator using the hosts keyboard. Note: The clock will be a 24-hour clock and so there will be no am/pm indicator in the clock.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
