附录#include "User_Header.h"void InterFace(void);void Timer0_Init(void);sbit KEY1 = P2^3;sbit KEY2 = P2^4;sbit KEY3 = P2^5;sbit KEY4 = P2^6;sbit DELAY1 = P3^4;sbit DELAY2 = P3^5;sbit DELAY3 = P3^6;sbit DELAY4 = P3^7;u8 mode = 0;int select = 0;u8 temp1, humi1;u8 temp2, humi2;u8 thre_temp1=8,thre_temp2=8, thre_humi1=80, thre_humi2=80;int hour = 12, min = 30, sec = 0;int hour_set=12, min_set = 31;int counter_temp=0, flag_temp=0;int main(void){u8 temp_buf[3],humi_buf[3];in...
发表评论取消回复