Tool/software: Code Composer Studio
Hello,
I am trying to interface the DHT22 sensor to my Tiva board. I used the code posted by someone (for DHT11 sensor) in a similar thread and modified it a little to suit my application. The program debugs without error but when I flash it to the uC the readings I get are all zeros. I tried adjusting the timing according to the datasheet of the DHT22 but something still seems to be missing. Can someone please help.
I am attaching the main code along with the driver files. Connections:
Pin1 --> 3.3V
Pin2--> PF4
Pin3-->
Pin4--> GND
Regards
SwapnaDHT22_Sensor_Error.7z