keesj

Modifying the libraries

4 posts in this topic

Hi,

I am sure is it documented somewhere but what is the best way to modify existing library items? I am currently making the modifications in opt/DesignLab-1.0.8/libraries but this tends to break my other designs.

Share this post


Link to post
Share on other sites

Hello keesj,

Generally what I would do if I was going to make changes to the libraries was to delete the library from the DesignLab-1.0.8/libraries folder and put it in my home directory under the Designlab folder. I don't remember the exact path but you should be a directory there for sketches and if there is a subdirectory for libraries it will use that. I would copy this entire github repository there and make my changes there and post them back up to github.

https://github.com/GadgetFactory/DesignLab_Examples

Also, please be advised that I am working towards a more sane method of managing libraries and code examples. It's just getting started but I think using FuseSoc is going to help us make things clearer, easier, and not depend on the Arduino IDE. The conversation is starting up here:

 

Share this post


Link to post
Share on other sites

Actually there is a readme that explains better how to setup the libraries so you can modify them. I'd make a fork of the github repository and then follow the readme, then you can track your changes back to github.

https://github.com/GadgetFactory/DesignLab_Examples

Quote

 

These are the example projects and libraries for DesignLab.

They are a separate project to make it easy to download the examples without downloading the full DesignLab source code.

To use you should go to File/Preferences in DesignLab and set the Sketchbook location to this DesignLab_Examples folder. You will also need to rename the libraries folder in your DesignLab installation to libraries-orig so you don't pick up two copies of the libraries.

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now