基于51单片机,ADC0804,光敏电阻,湿度传感器,求程序!!!!
基于51单片机,ADC0804,光敏电阻,湿度传感器,求程序!!!!
日期:2016-04-19 19:14:20 人气:1
#include
#define uchar unsigned char
#define uint unsigned int
sbit DQ=P3^7;//ds18b20与单片机连接口
sbit RS=P3^0;
sbit RW=P3^1;
sbit EN=P3^2;
unsigned char code str1[]={"temperature: "};
unsigned char code str2[]={" "