write_data(' '); write_data('s'); write_data(' '); for(num=0;num<3;num++) { if(num==1) } write_data('.'); write_data(table[num]+0x30); write_com(0x80+0x40); result=read2543(1); tmp=(result*5.36/4096.0); y=(tmp-0.878)/0.0233; a=y*10; table[0]=a/100; table[1]=a0/10; table[2]=a0; write_data('t'); write_data('m'); write_data('p'); write_data(' '); write_data('i'); write_data('s');
write_data(' '); for(num=0;num<3;num++) { if(num==2) } write_data('.'); write_data(table[num]+0x30); }
基于单片机和tlc2543的温度及电压测量装置
write_data('');write_data('s');write_data('');for(num=0;num<3;num++){if(num==1)}write_data('.');write_data(table[num]+0x30);write_co
推荐度:
点击下载文档文档为doc格式