Libraries

Is it possible to view the code in a library?

Yes.
I use "Notepad++" (not Windows notepad).
Leo..

Thank you Wawa, I've downloaded Notepad++ - what do I do now? Please forgive my ignorance.

Navigate to where the library files are.
They could be in your documents folder and/or in the Program Files (x86) > Arduino > Libraries folder.
Rightclick on a .h or .cpp file, and choose "open with" > Notepad++

Or open Notepad++, and use "file > open" to navigate to the library files.
Leo..

Thanks very much Wawa. Got it now.

There's also a pretty useful little utility called "Doxygen", that can be used to create a HTML listing of all libraries, along with their classes and methods. It provides a well-organised listing, with links.
I installed and used it a few days ago and it works quite well.

It's available here:-
DOxygen

And there's a video posted by fellow member @KrisKasprzak on it's use here:-
Get methods from all your Arduino .h files

Yes Doxygen is fantastic, I think it would be mandatory to use it for all Arduino library.
But as goosebeat is learning how to open a file with an editor I think Doxygen is "a little" hardest.

68tjs:
Yes Doxygen is fantastic, I think it would be mandatory to use it for all Arduino library.
But as goosebeat is learning how to open a file with an editor I think Doxygen is "a little" hardest.

He knows how to do it with Notepad++ now, so Doxygen is the next step. :slight_smile: