Hi guys,
If someone could help it would be much apreciated.I am using DHT22 sensor for my weather station for temperature and humidity reading.Humidity works fine,but for temperature,after it drops and becomes negative the value reported is something like -3273 ...Could it be because of the library?
i am using #include <DHT.h> .
#define DHTPIN 2 // what pin we're connected to
#define DHTTYPE DHT22 // DHT 22 (AM2302)
DHT dht(DHTPIN, DHTTYPE); //// Initialize DHT sensor for normal 16mhz Arduino
int tempint;
temp= dht.readTemperature();
tempint = (int) temp;
Serial.print(tempint);
Serial.print(":");
much apreciated
Thanks!