Pages: [1]   Go Down
Author Topic: description of library functions?  (Read 433 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!! smiley
Logged

0
Offline Offline
God Member
*****
Karma: 0
Posts: 594
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Freelance engineer, consultant, contractor. Graduated from UW in 2013.

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16540
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!! smiley

Hope that helps some.
Lefty
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6378
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 :-)
Logged

Pages: [1]   Go Up
Jump to: