1. 首页
  2. 编程语言
  3. C
  4. 基于51单片机的可调时电子钟c语言代码

基于51单片机的可调时电子钟c语言代码

上传者: 2019-09-28 12:45:22上传 TXT文件 500kb 热度 25次
#include#defineuintunsignedint#defineucharunsignedcharucharcodetable[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71,0};ucharsec,min,hour,kfnum,tt;sbitkey1=P0^0;sbitkeyfunc=P0^1;voidinit();voiddelay(ucharz);voiddisplay(ucharsec,ucharmin,ucharhour);v
用户评论