微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 嵌入式设计 > Nokia 5110_DS18B20显示程序

Nokia 5110_DS18B20显示程序

时间:11-18 来源:互联网 点击:

LCD_set_XY(68,4);
LCD_write_char(132);
LCD_set_XY(68,3);
LCD_write_char(132);
LCD_set_XY(68,2);
LCD_write_char(125+moni_temp-16);
}
else if(moni_temp>=24 && moni_temp<32)
{
LCD_set_XY(68,0);
LCD_write_char(125);

LCD_set_XY(68,4);
LCD_write_char(132);
LCD_set_XY(68,3);
LCD_write_char(132);
LCD_set_XY(68,2);
LCD_write_char(132);

LCD_set_XY(68,1);
LCD_write_char(125+moni_temp-24);
}
else if(moni_temp>=32 && moni_temp<40)
{
LCD_set_XY(68,4);
LCD_write_char(132);
LCD_set_XY(68,3);
LCD_write_char(132);
LCD_set_XY(68,2);
LCD_write_char(132);
LCD_set_XY(68,1);
LCD_write_char(132);

LCD_set_XY(68,0);
LCD_write_char(125+moni_temp-32);
}
else
{;}

}

}

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top