Please HELP I am building a program for a circuit on mBed using a mBed LPC1768 and a four bank seven segment LED display. How would I write the code for these functions?
You will need to use the 4-bank seven-segment LED display to make a digital clock with the time display in the format of HH:MM (HH is the hour from 0 -- 23, and MM is the minute from 00 -- 59)
You are required to design two functions.
Function 1: take a decimal digit (0, 1, 2, ... , 9) and return the segment driver value for this digit.
Function 2: take the hour and minute, display the hour and minute in the format of HH:MM on the 4-bank seven segment LED display for 1 minute with the : blinking every second (On for half second and Off for half second).