LED结构 数字显示 | 共阴极接法 | 共阳极接法 | ||
D7 D6 D5 D4 D3 D2 D1 D0 | 7段 代码 | D7 D6 D5 D4 D3 D2 D1 D0 | 7段 代码 | |
dp g f e d c b a | dp g f e d c b a | |||
0 | 0 0 1 1 1 1 1 1 | 3FH | 1 1 0 0 0 0 0 0 | C0H |
1 | 0 0 0 0 0 1 1 0 | 06H | 1 1 1 1 1 0 0 1 | F9H |
2 | 0 1 0 1 1 0 1 1 | 5BH | 1 0 1 0 0 1 0 0 | A4H |
3 | 0 1 0 1 1 1 1 1 | 4FH | 1 0 1 1 0 0 0 0 | B0H |
4 | 0 1 1 0 0 1 1 0 | 66H | 1 0 0 1 1 0 0 1 | 99H |
5 | 0 1 1 0 1 1 0 | 6DH | 1 0 0 1 0 0 1 | 92H |
6 | 0 1 1 1 1 1 0 1 | 7DH | 1 0 0 0 0 0 1 0 | 82H |
7 | 0 0 0 0 0 1 1 1 | 07H | 1 1 1 1 1 0 0 0 | F8H |
8 | 0 1 1 1 1 1 1 1 | 7FH | 1 0 0 0 0 0 0 0 | 80H |
9 | 0 1 1 0 1 1 1 1 | 6FH | 1 0 0 1 0 0 0 0 | 90H |
a | 0 1 1 1 0 1 1 1 | 77H | 1 0 0 0 1 0 0 0 | 88H |
b | 0 1 1 1 1 1 0 0 | 7CH | 1 0 0 0 0 0 1 1 | 83H |
c | 0 0 1 1 1 0 1 0 | 39H | 1 1 0 0 0 1 1 0 | C6H |
d | 0 1 0 1 1 1 1 0 | 5EH | 1 0 1 0 0 0 0 1 | A1H |
e | 0 1 1 1 1 0 1 0 | 79H | 1 0 0 0 0 1 1 0 | 86H |
f | 0 1 1 1 0 0 0 1 | 71H | 1 0 0 0 1 1 1 0 | 8EH |
g | 0 1 1 1 0 0 1 1 | 73H | 1 0 0 0 1 1 0 0 | 8CH |