T02 - LED display driver

4-digit LED display is connected to microcontroler by the use of two serial-in shift registers with output latches SN74LS595. To display any information on the display it is necessary to send two bytes:

Used pins of microcontroller:

Figure 1 shows time diagram of communication between microcontroller and LED display. Bits are sent starting from MSB.

Example of serial data sequence (two bytes) to show number 0 on 1st digit (from the left): 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1