문제

I've got a raspberry pi and arduino connected over serial port. Everything works, except the Arduino IDE does not have an 'import library' section for adding new libraries.

I can only import libraries that come with the IDE. I want to add more libraries to Arduino IDE on the pi and wanted to know where the libraries folder could be found.

So far I haven't found it anywhere.

Anyone got any experience with it?

Another heads up, running raspbian wheezy.

도움이 되었습니까?

해결책

you can add your libraries in

/usr/share/arduino/libraries/

then just include them with the include statement

#include <myAwesomeLib.h>

Hope it helps! :)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top