Complete Reference for Arduino Programming Language

I would like to have a complete reference to all of the available functions to use in the Arduino programming language - it would save me having to ask so many questions here.

I assumed they would be at https://www.arduino.cc/reference/en/ but it does not seem to be complete.

I went looking for Floor() to use in Arduino, and although it is not on that particular page, it is referenced to here https://linuxhint.com/math-library-arduino/ , I suppose that there is the possibility that it has been removed from the language, but it is very unlikely.

So, is there a complete reference to all functions etc of the Arduino programming language?

2 Likes

It is spelled "floor", and it is not an Arduino function, it is in math.h

since Arduino uses the industry standard GNU C++ compiler, wouldn't that be sufficient, as far as the language details.

of course there are tons of libraries and many unique to Arduino, some described on this Reference page

Arduino is, in reality, C++. I highly recommend the “ The C++ Programming Language, Fourth Edition”, if you’re trying to get a deeper understanding of coding Arduino based boards.

I'm sure we'd all love it. And for so many other things, a complete reference.

In this century, an impossibility. So… ask questions, but also sharpen up your search skills. The more you know the more you know how to search for what you don't know.

And a key to knowing about stuff like coding and Arduino projecting is to read widely. Read to see what people are up to and how they are going about it and what nifty little bits of hardware they've afforded themselves to do it with.

Read read read code to see how ppl get things to happen. And I do mean read.

Read these fora and see bad code and why some might think it bad and what they think would make it better.

There's prolly somewhere around a zillion functions out there ready to go to work for you.

a7

There is no complete reference because the arduino ecosystem consists of a core, the functions of which are listed at the link above, and thousands of libraries, each of which contains its own set of commands.
Since the libraries are written not only by the arduino team, but also by the users themselves and change literally every day, it is impossible to compile a complete description of all commands

The arduino ecosystem represents the open source system.

"All the functions" varies from one platform to another, as well.
On AVR, you have all of avr-libc.
On SAMD, you have newlib (nano.)
On RP2040, you have the Pico SDK (or most of it, anyway.)
On MBed, you have the MBed calls.
And that's not counting the non-arduino boards like the ESP8266 and ESP32 with access to the ESP SDK and maybe FreeRTOS, etc.

But "Standard C and C libraries" is a good starting point.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.