Go Down

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

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

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.

Thanks

johnwasser

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

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Yes!! Thanks.

I write a small doc in my repository:
Quote

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