Go Down

Topic: [RESOLVED] including custom libraries (Mac OS X)? (Read 2529 times) previous topic - next topic


Sep 13, 2012, 07:17 pm Last Edit: Sep 14, 2012, 03:53 pm by yggdrasilien Reason: 1

I'm working on Arduino IDE 1.0.1 (1.0 few days ago).
I would like include extern libraries like (new) LiquidCrystal. It is the same name as the standard library.
But instead copying this library in /Applications/Arduino.app/Contents/Resources/Java/libraries, we could add it into %PROJECT_NAME%/libraries. Because I want test this unofficial library only for this project.

Some helps tell it is possible but, even I restart my computer and the IDE, I can't!

(So, I tested with failure ~/Document/Arduino/libraries)

Could you add this features… or explain me.



Local libraries are put in ~username/Arduino/libraries/LibraryName

Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp


Yes!! Thanks.

I write a small doc in my repository:

Launch the Arduino IDE (tested with 1.0.1) and look the Preferences window. I read:
%Sketchbook_location% = ~/Documents/Arduino/Sketchbooks

Move [%git:sketch_SWlave%/libraries] to [%Sketchbook_location%/libraries], or link it. My files are:
$ ls -al ~/Documents/Arduino/Sketchbooks/libraries
lrwxr-xr-x  1 [myUser]  staff    67 13 sep 21:39 LiquidCrystal -> ~/Documents/Arduino/sketch_WSlave/libraries/LiquidCrystal

It works!
Easy ;)

Go Up