基于AT89S52的测温ds18b20的C语言 已经通过硬件测试sbitDQ=P1^7;bitflag;bitsignal;sbitb=P1^0;sbitc=P1^1;ucharcodetable[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xff};ucharbuf[3];ucha