Go Down

Topic: Undocumneted command? (Read 1 time) previous topic - next topic

george_graves

So, I ran into someone asking about the strlen command...

How many commands are there that aren't listed on the main reference page?

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

Is there a full list?  Or am I asking the wrong question?  Is there a way for the normal C avr commands work in the arduino ide?  Am I making sense?

WizenedEE

That is definitely not a complete list.

From what I understand, you can use a lot of commands in C. However, what you are seeing is probably someone using a library of some sort.

cr0sh

Quote
However, what you are seeing is probably someone using a library of some sort.


Specifically, avr-libc:

http://www.nongnu.org/avr-libc/user-manual/index.html

Since the Arduino libraries are built on top of avr-libc, they too are available for your use. Note that they aren't as "user-friendly" as the Arduino libraries (the Arduino libs consist of many wrappers which abstract a lot of work away, among other things), but many of the library functions (such as strlen) are simple enough to grasp, especially with an example or two.
I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

george_graves

#3
Jan 10, 2011, 03:39 am Last Edit: Jan 10, 2011, 03:42 am by george_graves Reason: 1
Awesome!  
Thanks!

Senso

As far as I know that function and a lot more are part of a tipical C compiler, so just get a good book about C programming ;)

Go Up