Clr_Scr();
while(1)
{
adpro();
write_zifu(0,0,10); //A
write_zifu(0,8,13); //D
write_chinese(0,16,0); //值
write_zifu(0,32,47); //:
write_zifu(0,40,((adbuf%1000)/100)); //
write_zifu(0,48,((adbuf%100)/10)); //
write_zifu(0,56,(adbuf%10)); //
dianyabuf=dianya_zhuanhuan();
write_chinese(2,0,1); //电
write_chinese(2,16,2); //压
write_zifu(2,32,47); //:
write_zifu(2,40,dianyabuf/100);
write_zifu(2,48,45);
write_zifu(2,56,(dianyabuf%100)/10);
write_zifu(2,64,dianyabuf%10);
write_zifu(2,72,31);
write_chinese(4,0,3); // 专
write_chinese(4,16,4); // 注
write_chinese(4,32,5); // 于
write_chinese(4,48,6); // 消
write_chinese(4,64,7); // 费
write_chinese(4,80,8); // 类
write_chinese(4,96,9); // 控
write_chinese(4,112,10); // 制
write_zifu(6,0,26); //q
write_zifu(6,8,26); //q
write_zifu(6,16,47); //:
write_zifu(6,24,2); //2
write_zifu(6,32,7); //7
write_zifu(6,40,9); //9
write_zifu(6,48,0); //0
write_zifu(6,56,6); //6
write_zifu(6,64,8); //8
write_zifu(6,72,0); //0
write_zifu(6,80,7); //7
write_zifu(6,88,9); //9
}
}
上一页 [1] [2] [3] [4]
本文关键字:程序 STC单片机(,单片机-工控设备 - STC单片机(