Example: Displaying elapsed time on a multiplexed (4-digit) LED display
A common use for LED displays is to display the time. This simple example demon- strates the display of elapsed time on four multiplexed LEDs. The code is written for a standard 8051 (8052) device.
The required hardware is illustrated in Figure 21.6.
The key source files for this example follow (Listings 21.2 to 21.5): all the files required in this example are included on the CD.