So I'm doing the humidty sensor tutorial for the DHT22
http://learn.adafruit.com/dht-humidity- ... g/overview
and I ran into a few speed bumps.
When I got to the section: Testing the C Code, I ran sudo ./Adafruit_DHT 2302 4 I got no data. (Data(0): 0x0 0x0 0x0 0x0)
I double checked my wiring and I couldn't figure out what was wrong.
I then skipped that section and went to:Adapting the DHT C code
when i type in gcc Adafruit_DHT.c -l bcm2835 -std=gnu99 -o Adafruit_DHT
I get this error: gcc: error: adafruit_DHT.c: No such file or directory.
Any help? I'm super new to rasberry pi and electronics.