实习报告啊
#include #define uint unsigned int #define uchar unsigned char sbit squ=P1^4; sbit tri=P1^5; sbit ser=P1^6; sbit freq=P1^7; sbit cs=P3^0; bit flag; uint qian,bai,shi,ge; uint FREQ; uchar num,cho; uchar TIME0_H=0xff,TIME0_L=0xb1; //定时器的初值设定 uchar leddata[]={0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D
暂无评论