C51单片机中怎么写一个中断程序,可以用一个温度传感器来实现。当温...答:0xd7,0x11,0xcd,0x5d,0x1b,0x5e,0xde,0x15,0xdf,0x5f,0x9f,0xdf,0xc6,0xd7,0xce,0x8e};void delay(uint count) //delay { uint i;while(count){ i=200;while(i>0)i--;count--;} } void Init_Com(void){ TMOD = 0x20;PCON = 0x00;SCON = 0x50;TH1 = 0xFd;TL1 ...
单片机温度检测的程序?答:define uchar unsigned char sbit DQ = P3^6;uchar code DSY_CODE[] = { 0X3F,0X06,0X5B,0X4F,0X66,0X6D,0X7D,0X07,0X7F,0X6F,0X00};uchar code df_Table[] = {0,1,1,2,3,3,4,4,5,6,6,7,8,8,9,9};uchar CurrentT = 0;uchar Temp_Value[]={0x11,0x22};uchar ...