7 years, 11 months ago.

How would I write a code to display the functions I have listed?

/media/uploads/reemacarlie/screenshot_2016-12-28_14.22.14.png

• 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).

can someone help me write the code for this? I have included the schematics for the connection between LPC1768 and a 4 bank seven segment LED.

1 Answer

7 years, 11 months ago.

Hi Reema, this is something like "Hello World!" in embedded system, many sample code online or in the embedded books for beginner, I strong recommend you to try it yourself, if you face any problem, I would like to give assist instead of provide the code directly.