按鍵計數小程序

#include <reg52.h> unsigned char LED[10] = {0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90}; void main() { TMOD = 0x05; TL0 = 0x00; TH0 = 0x00; TR0 = 1; while(1) {
相關文章
相關標籤/搜索