LED显示计数
![](http://m.amcfsurvey.com/editerupload/fetch/20161101/319167_1_0.jpg)
程序实现功能:
每次按下芯片右下角的按键,
LED显示按键按下的次数,代码如下:
#include
sbit P3_7=P3^7;
unsigned char code table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};
char count;
void delay(unsigned int time){
}
void main(void) {
}
评论