#include#include#define uchar unsigned char#define uint unsigned intuchar const dm[]={ 0xc0,0xf9,0xa4,0xb0,0x99,
0x92,0x82,0xf8,0x80,0x90};//共阳极#define LED1_onPORTB&=~BIT(0)#define LED1_offPORTB|=BIT(0)#define LED2_onPORTB&=~BIT(1)#define LED2_offPORTB|=B
|