MAX31855 Library on Arduino Due

by crossi on Sun May 26, 2013 5:15 pm

As I am going through Adafruit thermocouple tutorial, I downloaded the MAX31855 library for use with an Arduino Due and the got following compile error:

Adafruit_MAX31855.cpp:18: fatal error: avr/pgmspace.h: No such file or directory

Commenting out that lines shows it also cannot find util/delay.h

I understand from other posts that some libraries are not supported for Due yet. Is there a workaround to get this chip working with a Due? Is there a way to add it to the include path?

Thanks
crossi
 
Posts: 3
Joined: Sun May 26, 2013 5:08 pm

Re: MAX31855 Library on Arduino Due

by franklin97355 on Sun May 26, 2013 6:32 pm

Make sure you have the library installed in the correct place, this can give you that error. The library may not be updated but check the location anyway.
User avatar
franklin97355
 
Posts: 2662
Joined: Mon Apr 21, 2008 1:33 pm

Re: MAX31855 Library on Arduino Due

by crossi on Sun May 26, 2013 8:26 pm

Yes it appears to be in a correct location: <mySketchDir>/libraries/MAX31855/

I also tried adding it to the location of the built in libraries in <myLoc>/arduino-1.5.2/libraries/MAX31855/ and got the same error.

It does show up in the Sketch-> Import Library menu
crossi
 
Posts: 3
Joined: Sun May 26, 2013 5:08 pm