Open a library to better understand how it works

How to I open an H file, a library to see if it helps me understand how it works. I'm trying to figure out how to use the AnalogButtons library.

Go to your Arduino installation directory, then look for for the .cpp or .c file of the library you're interested in.

For generic arduino analogue stuff, look for "wiring_analog.c"

First, try the documentation. If it doesn't help, H files can be opened with wordpad etc. It can be a bit difficult to read without colored words, so a program like Qt Creator or Eclipse would be better.

JanD

Hi!

There's a complete tutorial on library here.

Enjoy ;)

avenue33: Hi!

There's a complete tutorial on library here.

Enjoy ;)

That's on how to MAKE a library. But for someone who doesn't at all knows anything about C++ libraries it can be interesting.

JanD

avenue33: Hi!

There's a complete tutorial on library here.

Enjoy ;)

excellent link thanks for that!