Raspberry pi arduino library folder

I have a raspberry pi and arduino connected through a serial port. Everything works, except that the Arduino IDE does not have an Import Library section to add new libraries.

I can import libraries that come with the IDE. I want to add more libraries to the Arduino IDE on pi and wanted to know where to find the library folder.

Until now, I have not found it anywhere.

Does anyone have any experience?

Another heads-up, launched raspbian wheezy.

+6
source share
1 answer

you can add your libraries to

/usr/share/arduino/libraries/ 

then just enable them using the include statement

 #include <myAwesomeLib.h> 

Hope this helps! :)

+12
source

Source: https://habr.com/ru/post/950564/


All Articles