ta('u'); delayms(5); write_data('e'); break; case 3: write_data('W'); delayms(5); write_data('e'); delayms(5); write_data('n'); break; case 4: write_data('T'); delayms(5); write_data('h'); delayms(5); write_data('u'); break; case 5: write_data('F'); delayms(5); write_data('r'); delayms(5); write_data('i'); break; case 6: write_data('S'); delayms(5); write_data('a'); delayms(5); write_data('t'); break; case 7: write_data('S'); delayms(5); write_data('u'); delayms(5); write_data('n'); break; }} void time_change(void) //时钟处理函数{ disp[0]=time_data[0]%16; //年 disp[1]=time_data[0]/16; disp[2]=time_data[1]%16; //周 disp[3]=time_data[1]/16; disp[4]=time_data[2]%16; //月 disp[5]=time_data[2]/16; disp[6]=time_data[3]%16; //日 disp[7]=time_data[3]/16; disp[8]=time_data[4]%16; //时 disp[9]=time_data[4]/16;