Hello,
I would like to modify a couple of libraries imported from the the online repository for the arduino create. Unlike the standard IDE, I cannot find where these files are stored. I cannot seem to access them from within the online IDE.
For example, I want to modify part of the DS1307RTC. There is no place that I can find that contains the .h and cpp files, which makes sense as it is cloud based. However, I am sure that there must be a way to do this.
I'm not sure whether it's possible to download the Library Manager libraries from the Arduino Web Editor. I can't seem to get it to load right now. However, I do know that the source of the DS1307RTC from Library Manager is available here:
Rename the unzipped folder from DS1307RTC-1.4 to DS1307RTC. This is very important because if the library folder name doesn't match the main header file the Arduino Web Editor will not give your modified library include priority.
Make any modifications you want to the library.
Zip the modified library
Upload the modified library to the Arduino Web Editor. The Arduino Web Editor should give your custom library include priority over the stock version available via Library Manager
As for generally how you can find the source for the Library Manager libraries, the author of the library had to submit a request for the library to be included, which includes a link to the GitHub repository containing the library. You can find these requests by searching for the library name here:
For some reason I couldn't find the DS1307RTC via that approach. Perhaps Paul Stoffregen just gave a blanket request for all his libraries to be included? However, I think that will work for 95% of the libraries.
Arduino Web Editor's Library Manager is working for me now. If you favorite a library in Library Manager and then go to your favorites tab you'll see the library has a "More info" link. Some of those links will take you straight to the library repository where you can find the source code. Some of them will take you to a different location where you may be able to find a link to the source code, or not. So the system I explained in my last reply for finding the library source code is still useful but you might find the "More info" approach a bit easier when it works.