reference-en
reference-en copied to clipboard
Editable source for the Arduino Reference
A user has reported that they found the reference pages confusing because the syntax highlighting colors don't match those of the Arduino IDE. Example code rendered at https://www.arduino.cc/reference/en/language/structure/control-structure/for/  The...
On the reference page for the datatype "array", an example of initialization was shown as the following: notice that in line 3, the array was declared to be of 6...
The documentation for the reserve() method states that it does return "nothing". However, the method returns 0 (fail) or 1 (success). `unsigned char String::reserve(unsigned int size) { if (buffer &&...
Notably absent in Arduino documentation is the listing of available ISR routines for a particular interrupt and microcontroller e.g. ISR(TIM0_OVF_vect) is the Timer 0 Overflow interrupt vector. For each board...
Currently, only the #define/#include hash prefixed functions are documented but there is no documentation on other functions with a hash prefix including but not limited to #if/#elif/#ifdef/#ifndef/#else/#error/#warning/#undef/#endif along with the...
As I mentioned along with some other stuff [on the forum](http://forum.arduino.cc/index.php?topic=477052.0), the analog input pin constants are not mentioned in the [Arduino reference](https://www.arduino.cc/en/Reference/HomePage) - not under [Constants](https://www.arduino.cc/en/Reference/Constants) and not in...
In the section "Notes and Warnings" there is ambiguous wording: > For example: using the Due with `analogReadResolution(16)` will give you an approximated 16-bit number with the first 12 bits...
We have a reference page for Stream and its methods (https://www.arduino.cc/reference/en/language/functions/communication/stream/) but not for Print (even though the Stream documentation mentions the Print class). It would be good to document...
A page https://www.arduino.cc/reference/en/language/functions/communication/serial/ does not have description of methods readStringUntil() or readString() nor it does contain information that says all methods from https://www.arduino.cc/reference/en/language/functions/communication/stream/ are available on a Serial object. Solution...
In the documentation about delay() https://www.arduino.cc/reference/en/language/functions/time/delay/ there is no statement about blocking in C++ std::thread environments, vs. std::this_thread::sleep_for(); can you please add them? Perhaps also hints about additional pros and...