Arduino Website typo

19/11/2021

Reference Language | Libraries | Comparison | Changes
attachInterrupt()
Description

Digital Pins With Interrupts

scroll down to:

Interrupt numbers

Normally you should use digitalPinToInterrupt(pin), rather than place interrupt an number directly into your sketch. The specific pins with interrupts, and their mapping to interrupt number varies on each type of board. Direct use of interrupt numbers may seem simple, but it can cause compatibility trouble when your sketch is run on a different board.

I think this should read

Interrupt numbers

Normally you should use digitalPinToInterrupt(pin), rather than place an interrupt number directly into your sketch. The specific pins with interrupts, and their mapping to interrupt number varies on each type of board. Direct use of interrupt numbers may seem simple, but it can cause compatibility trouble when your sketch is run on a different board.

Hi @rodedski. Thanks for your attention to the quality of the documentation.

This was corrected 5 years ago:

I'll guess that you found this in the reference that comes with previous versions of the Arduino IDE:

Because it became clear that Arduino was incapable of keeping that bundled reference content up to date, it was removed in the Arduino IDE 1.8.16 release:

So the reference links in the latest Arduino IDE take you to the website, where you will get the modern documentation.


Even though this particular typo happened to be fixed, many others remain. You are welcome to help out with improving the quality of the documentation. The effective way to accomplish that is to submit the fixes directly to the documentation source content. Learn about that in this tutorial:

https://create.arduino.cc/projecthub/Arduino_Genuino/contribute-to-the-arduino-reference-af7c37

Is there now, or will there ever be a way to download the Arduino Reference for offline use? I often have no internet access while programming, and having to stop my work until I can reconnect to the internet is very annoying :unamused:. I'm sure there are many in my boat who would like to see the Reference available offline again.

The IDE comes bundled with the reference; or at least it used to. Try menu help->reference.

The reference is no longer bundled with the IDE; hasn't been for a couple of versions. :unamused:

Interesting :thinking:! Have you tried this? I wonder how much disk space the entire Arduino Reference will require; I'll have to try this sometime when I have a really good internet connection.

The content at GitHub - arduino/reference-en: Editable source for the Arduino Reference is 360 KB

That is only for the Arduino Language Reference content though. The reference web pages that used to be bundled with the Arduino IDE installation total to 20.8 MB. That included some of the library reference pages and some general documentation about the Arduino IDE, etc.

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