#include #define uint unsigned int #define uchar unsigned char sbit P1_7=P1^7; sbit P1_1=P1^1; sbit P1_2=P1^2; uint key_number; uint STH0,STL0; uchar code tab1[]={0xef,0xdf,0xbf,0x7f}; uchar code tab2[]={0xfe,0xfd,0xfb,0xf7}; uchar code tab3[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90}; uint code tab4[]={64021,64103,64260,64400, 64524,64580,64684,64777, 64820,64898,64968,65030, 65058,65110,65157,65178}; void delayms(uchar no); void keydetect(); void display(); void timer0_inter
2022-06-20 09:05:25
6KB
文档资料