reference-en
reference-en copied to clipboard
Editable source for the Arduino Reference
Add warning about measurements being affected by interrupts.
This fixes the SPI pin documentation for the Leonardo and Yun (they are ATmega32U4-based like the Micro, so those 3 boards should share the same pin assignments) and for the...
This example is given for the `map()` function ([here](https://www.arduino.cc/reference/en/language/functions/math/map/)): ``` /* Map an analog value to 8 bits (0 to 255) */ void setup() {} void loop() { int val...
https://www.arduino.cc/reference/en/language/functions/communication/serial/  Particularly the **Arduino GIGA**. As for example you say Serial1 19(RX1) 18(TX1) When actually the RX1, and TX1 pins are used on the Serial2 object... And you don't...
Language/Variables/Utilities/PROGMEM.adoc says: >Newer boards (Due, MKR WiFi 1010, GIGA R1 WiFi etc.) automatically use the program space when a variable is declared as a const. As far as I know,...
Hello, [Here](https://github.com/arduino/reference-en/blob/master/Language/Functions/Communication/SPI.adoc#description) the list of **default pins for SPI** for **Arduino Zero** seems to be misaligned with its default [**variant.h**](https://github.com/arduino/ArduinoCore-samd/blob/master/variants/arduino_zero/variant.h), [**variant.cpp**](https://github.com/arduino/ArduinoCore-samd/blob/master/variants/arduino_zero/variant.cpp) and [**SPI.cpp**](https://github.com/arduino/ArduinoCore-samd/blob/master/libraries/SPI/SPI.cpp). The default SPI is: ```c SPIClassSAMD SPI...
diitalPinToInterrupt is not working as described in the [reference](https://www.arduino.cc/reference/en/language/functions/external-interrupts/digitalpintointerrupt/) since it only works as described for AVR and old boards, but for the new architectures, that function always returns the...
The official Arduino cores define a set of constants that can be used to write more portable sketches and code by identifying the architecture and board being used. We have...
As the title says. The round function is not documented.
This took me some while to find my error: left-shifting a "1" more than 14 steps requires a casting of the "1" to get reasonable results (e.g. required for setting...