Computers, Development Boards & Shields
Educational & Robotics Kits
Electronic Sensors
Motors & Controllers
Communication & Display
Electronic Components
Soldering & Lab Tools

0
Library problem on ChipKit Max32 using MPIDE

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.

1 Answer

0
Matt,
I haven’t personally had the opportunity to work with the ChipKit system, but I do know there are certain features that are not available on the PIC based system that are available on the Arduino IDE.
That said if you want to work together on this I would love to have a ChipKit compatible library as well.

Your Answer

No comments yet.

Leave a Reply