{新}单片机实训设计程序.docVIP

  • 0
  • 0
  • 约1万字
  • 约 13页
  • 2017-01-18 发布于湖北
  • 举报
#includereg52.h #define uchar unsigned char #define uint unsigned int sbit RS=P2^5; sbit RW=P2^6; sbit lcden=P2^7; sbit s1=P1^1; //功能键 sbit s2=P1^2; //加一键 sbit s3=P1^3; //减一键 sbit a=P1^4; sbit c1=P2^0; //功能键 sbit c2=P2^1; //加一键 sbit c3=P2^2; //减一键 uchar count,s1num,c1num,i,j; char nian,yue,ri,shi,fen,miao; uchar code table[]= 2013-06-23 MON; uchar code table1[]= 09:30:23; uchar code week1[]=MON; uchar code week2[]=TUE; uchar code week3[]=WED; uchar code week4[]=THU; uchar code week5[]=FRI; uchar code week6[]=SAT; uchar code week7[]=SUN; /************************

文档评论(0)

1亿VIP精品文档

相关文档