When I look at the list of installed libraries by going to sketch/include libraries , I get a longer list of libraries than are in the Mysketches/Library folder.
Where are the other libraries stored and why are all libraries not in the same folder?
I am trying to look at some of the *.h and *.cpp files but can't find them
Core: This is dependent on the current selection in Tools > Board. Location will depend on if you're using a hardware core bundled with the IDE, installed via Boards Manager, or manually installed to {sketchbook location}/hardware. The best way to find it is to do:
Tools > Examples > SPI > BarometricPressureSensor
Sketch > Show Sketch Folder - this will open the SPI/examples/BarometricPressureSensor folder inside of the current hardware core's libraries folder
cbrucewarren:
why are all libraries not in the same folder?
The sketchbook libraries are separate so that they will not be lost when a new version of the IDE or hardware core is installed, the hardware core libraries are separate because there are different ones for each hardware core.
cbrucewarren:
I am trying to look at some of the *.h and *.cpp files but can't find them
To find any library do this:
Tools > Examples > open any example from the library you want to find
Sketch > Show Sketch Folder - this will open the example folder inside of the library folder.