Go Down

Topic: description of library functions? (Read 602 times) previous topic - next topic

swr999

Please excuse my noobness, but I'm brand new to Arduino. I have done a fair amount of embedded software projects. I've been searching for something like a "Programmers Guide" which explains the compiler syntax and the included library functions in the standard installation. I haven't found what I'm looking for. The Reference section on the Arduino site has some of this information, but not the library functions. At least I haven't found it.

I guess I'm actually looking for a big PDF or something which describes everything (IDE, compiler, Arduino "language", library functions, example code) rather than having to click my way through the individual topics on the website. Is there anything like this?

Again, I know it's total noobness, but can someone please point me in the right direction? Thanks all!! :)

frank26080115

it's C++, read C++ books or something

also this is useful http://www.nongnu.org/avr-libc/user-manual/modules.html , it doesn't get mentioned enough on the Arduino site
Freelance engineer, consultant, contractor. Graduated from UW in 2013.

retrolefty


Please excuse my noobness, but I'm brand new to Arduino. I have done a fair amount of embedded software projects. I've been searching for something like a "Programmers Guide" which explains the compiler syntax and the included library functions in the standard installation. I haven't found what I'm looking for. The Reference section on the Arduino site has some of this information, but not the library functions. At least I haven't found it.

http://arduino.cc/en/Reference/Libraries

I guess I'm actually looking for a big PDF or something which describes everything (IDE, compiler, Arduino "language", library functions, example code) rather than having to click my way through the individual topics on the website. Is there anything like this?

Not yet, maybe never. It would be great to have such a document. However the arduino platform being a open source project and so much outside contribution I think a 'big everything' pdf would be very hard to keep current, things get added, deleted, enhanced at a tremendous pace. I've been active for just over 2 years now and have seen the IDE go from version 10 to 22. The forum seems to be the best place to try and keep current on the state of the art. There is also an Arduino developers forum where you can read the mail on purposed changes and ideas being discussed by the key developers of the IDE :   http://arduino.cc/pipermail/developers_arduino.cc/

Again, I know it's total noobness, but can someone please point me in the right direction? Thanks all!! :)

Hope that helps some.
Lefty

swr999

Lefty: Thanks very much, your info is a good start!

swr999

In case anyone's interested, I found this to be useful:
http://arduino.cc/playground/uploads/Main/arduino_notebook_v1-1.pdf

westfw

The Arduino core functions (anything defined in .../hardware/arduino/cores/arduino/*) should be described in the "reference" area.

The compiler is gcc/g++ and should mostly be described in any book on C (and to some extent C++, except that some of the constructs from C++ that are popular on desktop systems for which C++ is usually taught don't work well or aren't applicable to small embedded microcontrollers like arduino.)

avr-libc functions, and some of the gcc features specific to the AVR should be described at http://www.nongnu.org/avr-libc/user-manual/  Most of these are implementations of standard C functions, sometimes with particular enhancements or limitations (for example, printf() doesn't support floating point by default.)

I don't think the IDE is supposed to need explaining.  Various bits of its internal operation end up discussed in the forums (preferences file, boards file, etc.)

And of course the source code for everything is out there to read :-)

Go Up