Figure:seven segment display pinout
Seven segment displays are commonly used to display digits in many applications. Outof ten pins in the display the middle pin of each row are the power pins and theremaining eight pins to control the seven segment digits. Since the seven segmentsused is common anode the corresponding segments connected to ground is turned ON
These are integrated circuits which provides easy control of 7 segment LED displaysusing a minimum of 3 digital outputs; clock pin, data pin, latch pin to the LPC1769.
Figure:shift register-74HC595 pinout