- 博客(0)
- 资源 (1)
空空如也
温度传感器
18b20液晶显示/DS18B20温度检测及其液晶显示
#include<reg51.h> //包含单片机寄存器的头文件
#include<intrins.h> //包含_nop_()函数定义的头文件
unsigned char code digit[10]={"0123456789"}; //定义字符数组显示数字
unsigned char code Str[]={"Test by DS18B20"}; //说明显示的是温度
unsigned char code Error[]={"Error!Check!"}; //说明没有检测到DS18B20
unsigned char code Temp[]={"Temp:"}; //说明显示的是温度
unsigned char code Cent[]={"Cent"};
2013-06-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人