#include #include #define uchar unsigned charbit Tflag;//温度正负标志sbit DQ = P3^7;unsigned char code dispcode[]={0x3f,0x06,0x5b,0x4f, 0x66,0x6d,0x7d,0x07, 0x7f,0x6f,0x77,0x7c, 0x39,0x5e,0x79,0x71,0x00,0x40}; //0x40 负unsigned char dispbitcode[]={0xfe,0xfd,0xfb,0xf7, 0xef,0xdf,0xbf,0x7f}; unsigned char dispbuf[8]={0,0,0,0,0,0,0,0}; void digitalshow(unsigned char a2,unsigned char a1,unsigned char a0){ unsigned char i; dispbuf[0]=a0; dispbuf[1]=a1; disp
飞网下载站,免费下载共享资料,内容涉及教育资源、专业资料、IT资源、娱乐生活、经济管理、办公文书、游戏资料等。