reference-en
reference-en copied to clipboard
Editable source for the Arduino Reference
The Arduino Language Reference is the only official documentation of the Arduino programming language, but it is far from complete. Some examples of important things that are not mentioned in...
Reference of Serial.availableForWrite() does not state what returned value is nor where to find out.
[https://www.arduino.cc/reference/en/language/functions/communication/serial/availableforwrite/](url) does not tell the user about the returned value: - What its datatype is (signed or not, whether 8 or 16 or ... bits) - Where to find out...
There is a precedent for LEDs which have been built into the board and are configurable by the user to be named `LED_BUILTIN`. This is a de facto standard and...
On my Nano clone, calling `tone(pin, frequency, duration)` [https://www.arduino.cc/reference/en/language/functions/advanced-io/tone/](url) seems to ignore duration. e.g. changing the [https://www.arduino.cc/en/Tutorial/BuiltInExamples/toneMelody](url) 'loop' to ``` const uint8_t pinTune = 8; void loop() { // slide...
The reference section for analogWrite() [https://www.arduino.cc/reference/en/language/functions/analog-io/analogwrite/](url) includes this material in "notes and warning" > Notes and Warnings The PWM outputs generated on pins 5 and 6 will have higher-than-expected duty...
https://www.arduino.cc/reference/en/language/structure/control-structure/switchcase/ Allowed data types according to the reference are _int_ and _char_. However, any integral type is allowed (e.g. uint32_t, byte, ...).
I am noticing that the breadcrumb links don't seem to be working correctly for me. For example, on the page: https://www.arduino.cc/reference/en/language/functions/communication/serial/readbytes/ The link to "Serial" in the breadcrumbs points to:...
Can't find the documentation (reference page) for digitalPinToInterrupt. It's not on https://www.arduino.cc/reference/en/ and it's not on any of the interrupt related pages like https://www.arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt/ (although it is used there and...
It should be considered that - as opposed to functions - a "goto"-code can never return to its calling point. So instead of using the "goto"-control, it is advisable to...
https://www.arduino.cc/reference/en/ 'Functions' used to be orange and 'Structure' used to be green to match the IDE: https://web.archive.org/web/20201112010923/https://www.arduino.cc/reference/en/ now everything is 'Variable' blue.