首页 > 电子设计 > 数码管共阴极与共阳极编码
2011
11-07

数码管共阴极与共阳极编码

阳:
uchar code table[]={
0xc0,0xf9,0xa4,0xb0,
0x99,0x92,0x82,0xf8,
0x80,0x90,0x88,0x83,
0xc6,0xa1,0x86,0x8e};
阴:
uchar code table[]={
0x3f,0x06,0x5b,0x4f,
0x66,0x6d,0x7d,0x07,
0x7f,0x6f,0x77,0x7c,
0x39,0x5e,0x79,0x71};
//dp,g,f,e,d,c,b,a
//0 0 1 1 1 1 1 1.阴0
//1 1 0 0 0 0 0 0.阳0(互为相反)
作者:admin
admin
TTF的家园-www.ttfde.top 个人博客以便写写东西,欢迎喜欢互联网的朋友一起交流!

本文》有 0 条评论

留下一个回复