I am trying to work with your DHT22 on a ChipKit Max32 using the MPIDE compiler and I get an error with your sample code/Libraries.
C:Program Filesmpide-0023-windows-20120903.hardwarepic32librariesDHT22dht22.cpp: In member function ‘double dht22::dewPoint()’:
C:Program Filesmpide-0023-windows-20120903.hardwarepic32librariesDHT22dht22.cpp:228:9: error: expected unqualified-id before numeric constant
referencing this line: double A0= 373.15/(273.15 + temperature);
I am trying to get back up to speed on my C, but haven’t had any luck finding a solution to this problem.