&…

                                                            Digital Clock with LCD Display

write the code for the function header:

#include “mbed.h”

#include “TextLCD.h”

     

1. In this lab, you will redo a digital clock this time with the LCD display and in the format of HH:MM:SS (HH is the hour from 0 — 23, and MM is the minute from 00 — 59, and SS is the second from 00-59)

2. Design the circuit that properly connects the LCD display to the mbed platform. Include your connection diagram in the Experiment Results of your lab report.

3. Based on the hardware design from step 2, design your code to implement the digital clock. Upon reset of the board, the clock should reset to 00:00:00, then changed to 00:00:01 after 1 second, and 00:00:02 after another second, etc.

4. Test your digital clock with an accurate clock (e.g. the clock in the computer). Explain the test process and what you observe while carrying out the test process. Is your digital clock accurate? If it is not, explain what you think might be the cause of the inaccuracy. “Calibrate” your digital clock by modifying your code to be as close to the accurate clock as possible. Include the details of your calibration process in your lab report.

I am more interested in the coding. Thanks

"Is this question part of your assignment? We can help"

ORDER NOW