Skip to content

Commit 88c2aaa

Browse files
committed
update language reference links
1 parent 4c5d611 commit 88c2aaa

13 files changed

+17
-17
lines changed

content/Hardware Support/Generic/About-the-AREF-pin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Not all boards have an enabled AREF pin, and it doesn't work the same way on all
2222
<li>Arduino megaAVR Boards (Uno WiFi Rev2)</li>
2323
</ul>
2424
<td>
25-
<p>External reference voltage can be read from the AREF pin. Enable it by calling <a href="https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/">analogReference()</a> with the appropriate option for your board, i.e. <code>analogReference(EXTERNAL)</code> for AVR boards.</p>
26-
<blockquote><b>Note:</b> To avoid damaging your board, read the library reference's <a href="https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/#_notes_and_warnings">notes and warnings</a> section before using an external reference voltage.</blockquote>
25+
<p>External reference voltage can be read from the AREF pin. Enable it by calling <a href="https://docs.arduino.cc/language-reference/en/functions/analog-io/analogReference/">analogReference()</a> with the appropriate option for your board, i.e. <code>analogReference(EXTERNAL)</code> for AVR boards.</p>
26+
<blockquote><b>Note:</b> To avoid damaging your board, read the library reference's <a href="https://docs.arduino.cc/language-reference/en/functions/analog-io/analogReference/#notes-and-warnings">notes and warnings</a> section before using an external reference voltage.</blockquote>
2727
</td>
2828
</tr>
2929
<tr>

content/Hardware Support/Generic/Use-PWM-output-with-Arduino.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Learn how to use PWM (Pulse Width Modulation) output with Arduino.
99

1010
## Using PWM in your sketch
1111

12-
Add PWM output to your sketch using the [analogWrite()](https://www.arduino.cc/reference/en/language/functions/analog-io/analogwrite/) function.
12+
Add PWM output to your sketch using the [analogWrite()](https://docs.arduino.cc/language-reference/en/functions/analog-io/analogWrite/) function.
1313

1414
Here's a basic example:
1515

content/Hardware Support/Nano Family/About-the-analog-pins-on-Nano-RP2040-Connect.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ The microcontroller on the Nano RP2040 Connect has four analog pins, connected t
1111

1212
**Pins A0–A3** are connected to the board's microcontroller (Raspberry Pi RP2040). These pins can be used like analog pins on most other Arduino boards:
1313

14-
* Write to a pin with [analogWrite()](https://www.arduino.cc/reference/en/language/functions/analog-io/analogwrite/)
15-
* Read from a pin with [analogRead()](https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/)
14+
* Write to a pin with [analogWrite()](https://docs.arduino.cc/language-reference/en/functions/analog-io/analogWrite/)
15+
* Read from a pin with [analogRead()](https://docs.arduino.cc/language-reference/en/functions/analog-io/analogRead/)
1616

1717
If possible, try to use these pins for your project.
1818

@@ -51,7 +51,7 @@ _*With WIFINina firmware 1.4.8 or earlier, the range for these pins are 0.0–1.
5151

5252
## Increase the analogRead resolution
5353

54-
The `analogRead()` function returns 10-bit values (0–1023) by default. You can increase the resolution to 12-bit (0–4095) with the [analogReadResolution()](https://www.arduino.cc/reference/en/language/functions/analog-io/analogreadresolution/) function. Just add this code to your `setup()` function:
54+
The `analogRead()` function returns 10-bit values (0–1023) by default. You can increase the resolution to 12-bit (0–4095) with the [analogReadResolution()](https://docs.arduino.cc/language-reference/en/functions/analog-io/analogReadResolution/) function. Just add this code to your `setup()` function:
5555

5656
```arduino
5757
analogReadResolution(12);

content/Hardware Support/Nano Family/Control-the-RGB-LED-on-Nano-33-BLE-boards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can then set the value for each channel with the [`digitalWrite(pin, value)`
3030
> [!IMPORTANT]
3131
> The RGB pins are **active-low**. This means that the pin is activated (turning on the LED) when the voltage is low.
3232
33-
To control the brightness or produce different colors, use the [`analogWrite(pin, value)`](https://www.arduino.cc/reference/en/language/functions/analog-io/analogwrite/) function. For the `value` parameter, you can use a number from `0` to `255`. Because the RGB pins are active-low, a value of `0` will activate the pin's LED at full brightness, while a value of `255` turns it off completely.
33+
To control the brightness or produce different colors, use the [`analogWrite(pin, value)`](https://docs.arduino.cc/language-reference/en/functions/analog-io/analogWrite/) function. For the `value` parameter, you can use a number from `0` to `255`. Because the RGB pins are active-low, a value of `0` will activate the pin's LED at full brightness, while a value of `255` turns it off completely.
3434

3535
* `analogWrite(LEDG, 255)` – turn the GREEN LED **off**.
3636
* `analogWrite(LEDB, 128)` – turn the RED channel **off**.

content/Hardware Support/Nano Family/How-to-change-the-ADC-resolution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ The Arduino Nano 33 BLE has the ability to change its analog read resolution inc
77

88
To achieve this there is another function called `analogReadResolution()` that sets the size (in bits) of the value returned by `analogRead()`.
99

10-
See the [analogReadResolution()](https://www.arduino.cc/reference/en/language/functions/analog-io/analogreadresolution/) page for more information on how to change the ADC resolution.
10+
See the [analogReadResolution()](https://docs.arduino.cc/language-reference/en/functions/analog-io/analogReadResolution/) page for more information on how to change the ADC resolution.

content/Hardware Support/Portenta Family/About-ADC-reference-voltage-on-Portenta-H7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "About ADC reference voltage on Portenta H7"
33
id: 4753980038812
44
---
55

6-
The **analog-to-digital converter** (ADC) on Portenta H7 switches between internal and external reference voltage automatically, so unlike some other boards, [analogReference()](https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/) should **not** be used.
6+
The **analog-to-digital converter** (ADC) on Portenta H7 switches between internal and external reference voltage automatically, so unlike some other boards, [analogReference()](https://docs.arduino.cc/language-reference/en/functions/analog-io/analogReference/) should **not** be used.
77

88
<a id="internal-reference"></a>
99

content/Hardware Support/UNO/Debug-runtime-errors-on-UNO-R4-WiFi-using-stack-trace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The UNO R4 WiFi uses [CmBacktrace](https://github.com/armink/CmBacktrace) to pri
1111

1212
Follow these steps:
1313

14-
1. Ensure that a serial connection must be initiated before the error occurs, by calling [Serial.begin()](https://www.arduino.cc/reference/en/language/functions/communication/serial/begin/) in your sketch. You can include this code inside the beginning of the `setup()` function:
14+
1. Ensure that a serial connection must be initiated before the error occurs, by calling [Serial.begin()](https://docs.arduino.cc/language-reference/en/functions/communication/Serial/begin/) in your sketch. You can include this code inside the beginning of the `setup()` function:
1515

1616
```arduino
1717
Serial.begin(115200);
@@ -109,7 +109,7 @@ Follow these steps:
109109
2. Open the sketch in Arduino IDE and find the line number from the previous step (the number is displayed to the left of each line).
110110
3. Analyze the row where the error occurred and try to understand what may be triggering the error.
111111

112-
* If you're not sure, use the [Serial.println()](https://www.arduino.cc/reference/en/language/functions/communication/serial/println/) function to output the values of any variables being used. Then upload the sketch again, and use the serial output to see what the states of those variables were before the error occurred.
112+
* If you're not sure, use the [Serial.println()](https://docs.arduino.cc/language-reference/en/functions/communication/Serial/println/) function to output the values of any variables being used. Then upload the sketch again, and use the serial output to see what the states of those variables were before the error occurred.
113113

114114
* To see from where the function was called, look at the preceding function call in the `addr2line` output.
115115

content/Software Support/Compilation/Error-call-of-overloaded-write-int-is-ambiguous.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ To solve this problem, you can force the function to read the provided value as
1919
Serial.write((byte) 0x00);
2020
```
2121

22-
It is always recommended to use the [print() function](https://www.arduino.cc/reference/en/language/functions/communication/serial/print/) instead, as explained in the [Serial.write() function](https://www.arduino.cc/reference/en/language/functions/communication/serial/write/) reference page.
22+
It is always recommended to use the [print() function](https://docs.arduino.cc/language-reference/en/functions/communication/Serial/print/) instead, as explained in the [Serial.write() function](https://docs.arduino.cc/language-reference/en/functions/communication/Serial/write/) reference page.

content/Software Support/Compilation/Reduce-the-size-and-memory-usage-of-your-sketch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Learn how to reduce the size and memory usage of your sketch.
3737
* **Minimize array sizes.** Don't declare larger arrays than needed.
3838
* **Check your libraries** to save storage. Avoid [including](https://www.arduino.cc/reference/tr/language/structure/further-syntax/include/) large libraries unless you need to. Save storage by implementing your own code that only does what you need.
3939
40-
* **Store constant data in storage instead of memory** with [PROGMEM](https://www.arduino.cc/reference/en/language/variables/utilities/progmem/).
40+
* **Store constant data in storage instead of memory** with [PROGMEM](https://docs.arduino.cc/language-reference/en/variables/utilities/PROGMEM/).
4141
4242
> [!NOTE]
4343
> Arduino sketches are written in the Arduino language, which is based on standard C++. Therefore, using general C++ optimization techniques will help.

content/Software Support/IDE Settings/If-you-get-unexpected-zeroes-using-Serial-parseInt-or-Serial-parseFloat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ If your `loop()` function is calling the parsing function when `Serial.available
1313
You can solve the problem by:
1414

1515
- Selecting **No line ending** in the Serial Monitor.
16-
- Using the [Serial.read()](https://www.arduino.cc/reference/en/language/functions/communication/serial/read/) and define your own logic for reading the buffer.
16+
- Using the [Serial.read()](https://docs.arduino.cc/language-reference/en/functions/communication/Serial/read/) and define your own logic for reading the buffer.

0 commit comments

Comments
 (0)