#include#include#define uchar unsigned char#define uint unsigned intuchar code table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,//共阴的数码管的显示值为0-90x8f,0x86,0xdb,0xcf,0xe6,0xed,0xfd ...<全部>
- 77
HR7P153 SOP-16三个数码管显示,共阴极.单片机源程序如下:#include#include#define u8 unsigned char#define u16 unsigned intu16 i,a=0;u8 const SEG7[10]={0x77,0x06,0xb3,0x97,0xc6,0xd5,0xf5,0x07,0xf7,0xd7};u8 ...<全部>
- 177
74HC164控制数码管显示