reference-en
reference-en copied to clipboard
Editable source for the Arduino Reference
Sign extension doesn't need to be avoided for arithmetic use of bit shifting, it actually causes that negative numbers are calculated correctly. Just the rounding is different compared to the...
Race hazards should be mentioned on this page. Nick Gammon's notes are misleading regarding single byte variables and I can't find any way to contact him easily.
I have proposed a change to the interrupts() page regarding races.
Mention millis() ticking every 1.024 mS, skipping a value every 41 or 42, and maybe using micros for short accurate timings.
I have proposed changes to the noInterrupts() and interrupts() pages referring readers to this page.
The strings have to be in flash whether they are loaded at start up (the default) or when needed. Hence using embed or the F macro should have no impact...
The reference page shows that various initialization options are available as constructor parameters, but it does not show that existing String objects may also be assigned a new value, and...
The use of pgm_read_word() in the example is wrong and only works on 16 bit systems. We are dealing with a pointer here so the correct function would be pgm_read_ptr().
https://www.arduino.cc/reference/en/language/functions/communication/serial/ 1) Document the NanoEvery Serial1 on pins 0 and 1 (tx, rx) 2) Document the Nano 33 BLE and BLE Sense Serial1 on pins tx and rx. [https://docs.arduino.cc/hardware/nano-33-ble](url) Document...
No Simplified Chinese repository yet, please create one. repository name should be: reference-zh_CN