);void month_display();void year_display();void control();void time();void main(){ init(); while(1) { second_display(); minute_display(); hour_display(); date_display(); month_display(); year_display(); control(); }}void init(){ db=0; i=0; sec=0; ...
51单片机编程制作电子钟时间问题. 后两位数码管显示到59后,直接跳到变为只有第一位数码管显示0.感觉整个人都不好了 下面是代码 #include "reg52.h" #define uchar unsigned char unsigned char code dula_table= 0xc0,0xf9,0xa4,0xb0 0x99,0x92,0x82,0xf8 ...
51单片机编程制作电子钟时间问题.后两位数码管显示到59后,直接跳到变为只有第一位数码管显示0.感觉整个人都不好了,下面是代码::#include "reg52.h"#define uchar unsigned charunsigned char code dula_table[16]={\x090xc0,0xf9,0xa4,0xb0,\x090x99,0x92,0x82,0xf8,...