system
May 23, 2012, 10:46pm
#1
Hello, ...
I need a simple code for a humidity sensor that makes the sensor sense humidity and reports the serial monitor.
the sensor is in this website
http://www.sparkfun.com/products/10167
it has an example code(http://www.sparkfun.com/datasheets/Sensors/Temperature/DHT22.doc ) , which never compiles with me
Thank you,
system
May 24, 2012, 1:55am
#2
If you need a library for this you can use this one:
system
May 24, 2012, 9:49am
#3
which never compiles with me
You are obviously not chanting the proper prayers while compiling. Perhaps if you posted some code AND the (exact) errors, we could help you learn the proper prayer to chant.
The DHT22 works fine with my lib and sample code, see playground - http://arduino.cc/playground/Main/DHTLib -
special attention to have a delay between reads ~2 secs