chipKIT® Development Platform

Inspired by Arduino™

I need help porting a library from Ardunio to chipKIT.

Created Wed, 07 Nov 2012 17:35:27 +0000 by CharlesGantt


CharlesGantt

Wed, 07 Nov 2012 17:35:27 +0000

I am working on a project that Digilent has sponsored that involves getting an inkshield running from a chipkit max32 and I need help porting a few libraries over from Arduino to chipKIT. I started researching the process but quickly found out I was in way over my head. Would someone more knowledgeable on the subject be willing to help me out? I will give you full attribution on the project and I am sure I can get your port listed on the official inkshield page.

The libraries can be found here. https://github.com/NicholasCLewis/InkShield


Jacob Christ

Fri, 23 Nov 2012 16:51:17 +0000

If you have specific questions I can try to help on this thread. I made a wiki page that is a 30,000 ft view of how to aproch this problem that you can find here:

http://www.chipkit.org/wiki/index.php?title=Tips_on_Porting_Arduino_Libraries

Jacob


eshill

Fri, 28 Dec 2012 18:07:23 +0000

Hello, I am also having an issue with trying to include new libraries into the Mpide environment . I created a subdirectory in my /Users/local/Documents/mpide/libraries and put the FreeIMU library there but it gives me a fatal error: ADXL345.h: No such file or directory compilation terminated. when I try and verify my ADXl345 test routine. I also try to put it into the Mpide application libraries directory but it does not find the libraries there either. Any help would be greatly appreciated. Many thanks in advance Steve


JordanR

Mon, 14 Jan 2013 19:56:55 +0000

Hello Steve,

Is the ADXL345.h located within the FreeIMU library folder?

Best Regards,

Jordan R


jmlynesjr

Mon, 14 Jan 2013 21:52:56 +0000

Your added libraries go under your sketch directory not under your mpide directory. i.e.

home/my-sketches/libraries/added-library-directory/added-library-source-and-header-files.

James