7 Segment display

A seven-segment display is a type of display that consists of seven separate segments and often a dot. Each segment can be separately activated to display all number. Seven segment displays are very common in digital clocks, calculators and meters.





digit hex a b c d e f g
0 0x7E 1 1 1 1 1 1 0
1 0x30 0 1 1 0 0 0 0
2 0x6D 1 1 0 1 1 0 1
3 0x79 1 1 1 1 0 0 1
4 0x33 0 1 1 0 0 1 1
5 0x5B 1 0 1 1 0 1 1
6 0x5F 1 0 1 1 1 1 1
7 0x70 1 1 1 0 0 0 0
8 0x7F 1 1 1 1 1 1 1
9 0x7B 1 1 1 1 0 1 1
A 0x77 1 1 1 0 1 1 1
b 0x1F 0 0 1 1 1 1 1
C 0x4E 1 0 0 1 1 1 0
d 0x3D 0 0 1 1 1 1 1
E 0x4F 1 0 0 1 1 1 1
F 0x47 1 0 0 0 1 1 1