Hi
I am interested in learning how the various libraries work, in hopes of eventually being able to program my own libraries through raw C language.
How do I open the code for the arduino libraries?
Thanks
Hi
I am interested in learning how the various libraries work, in hopes of eventually being able to program my own libraries through raw C language.
How do I open the code for the arduino libraries?
Thanks
They're where you installed them; they're just C/C++ source code.
I'd recommend using something like Notepad++.
on a PC:
C:\Program Files (x86)\arduino-1.0.4\hardware\arduino\cores\arduino
C:\Program Files (x86)\arduino-1.0.4\libraries
On Github...
https://github.com/arduino/Arduino/tree/master/hardware/arduino/cores/arduino
https://github.com/arduino/Arduino/tree/master/libraries
You can't swing a dead cat without hitting a copy. ]
If you are still learning c/c++, you should look at EEPROM library. It is the easiest included library. There are only two functions but that essentially demonstrates key elements of a typical arduino library. You can beat that simplicity.