单片机时钟程序设计代码 好的,由于你没有给出具体的单片机型号,下面是一个基于 51 单片机的时钟程序设计示例: ```c #include <reg52.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> // 定义变量 char str[20]; int i=0;...
我这写了一个!使用数码管显示的!可以用键盘校对时间!你参考下。还写了一个液晶显示的!你要的话也可以发给你!include<reg52.h> define uchar unsigned char define uint unsigned int sbit K1=P3^0;sbit K2=P3^1;sbit K3=P3^2;uchar table[]={ 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7...
优质资源 +2分蓝桥杯省赛代码:基于单片机的电子时钟程序设计与调试 立即下载 举报资源 相关资源 蓝桥杯资料 第八届蓝桥杯客观题 蓝桥杯13-17年省赛程序设计真题源码 第十届蓝桥杯大赛省赛(软件类)真题 蓝桥杯单片机组资料 蓝桥杯题库2答案 蓝桥杯大赛自动售水机1(源码) ...