fig 1: Basic 7 segment Display
fig 2: Simulation
fig 3:Common Cathode Display