keesj Posted October 11, 2017 Report Share Posted October 11, 2017 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. Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted October 12, 2017 Report Share Posted October 12, 2017 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: Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted October 12, 2017 Report Share Posted October 12, 2017 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. Quote Link to comment Share on other sites More sharing options...
keesj Posted October 12, 2017 Author Report Share Posted October 12, 2017 4 hours ago, Jack Gassett said: 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 That sounds like a good plan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.