Skip to content

Commit ced9bcc

Browse files
committed
fix all broken links to the SPI Library reference documentation
The URL https://www.arduino.cc/en/reference/SPI was forwarded to https://docs.arduino.cc/language-reference/en/functions/communication/spi/ which returned permission denied.
1 parent e24abd7 commit ced9bcc

File tree

21 files changed

+34
-34
lines changed

21 files changed

+34
-34
lines changed

content/hardware/01.mkr/01.boards/mkr-1000-wifi/tutorials/mkr-1000-battery-life/mkr-1000-battery-life.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tags:
66
- Rechargeable batteries
77
libraries:
88
- name: SPI library
9-
url: https://www.arduino.cc/en/reference/SPI
9+
url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/
1010
- name: WiFi101 library
1111
url: https://www.arduino.cc/en/Reference/WiFi101
1212
author: "Arduino"
@@ -36,7 +36,7 @@ This tutorial gives an overview on how to determine the duration of a rechargeab
3636
- Ammeter
3737

3838
- Arduino IDE ([online](https://create.arduino.cc/) or [offline](https://www.arduino.cc/en/main/software)).
39-
- [SPI library](https://www.arduino.cc/en/reference/SPI)
39+
- [SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/)
4040
- [WiFi101 library](https://www.arduino.cc/en/Reference/WiFi101)
4141

4242

content/hardware/02.hero/shields/ethernet-shield-rev2/tutorials/barometric-pressure-web-server/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ See the [Barometric Pressure Sensor](https://arduino.cc/en/Tutorial/LibraryExamp
1919

2020
## Circuit
2121

22-
Your Barometric Pressure sensor will be attached to pins 6,7, and the SPI pins of your Arduino / Ethernet shield combo, and powered via your device's 3.3 volt output. Connect the DRDY (Data Ready) pin on your sensor to digital pin 6 on your combo, and the CSB pin (Chip Select) to digital pin 7. Your sensor's COPI (Controller Out Periheral In), MISO (Controller In Periheral Out), and SCK (SPI clock input) pins should then be connected to the SPI pins on your Arduino board/shield. The SPI pin numbers differ depending on which Arduino board you're using and are listed in the [SPI reference page](https://www.arduino.cc/en/Reference/SPI). Make sure that the two share a common ground.
22+
Your Barometric Pressure sensor will be attached to pins 6,7, and the SPI pins of your Arduino / Ethernet shield combo, and powered via your device's 3.3 volt output. Connect the DRDY (Data Ready) pin on your sensor to digital pin 6 on your combo, and the CSB pin (Chip Select) to digital pin 7. Your sensor's COPI (Controller Out Periheral In), MISO (Controller In Periheral Out), and SCK (SPI clock input) pins should then be connected to the SPI pins on your Arduino board/shield. The SPI pin numbers differ depending on which Arduino board you're using and are listed in the [SPI reference page](https://reference.arduino.cc/reference/en/language/functions/communication/spi/). Make sure that the two share a common ground.
2323

2424
After wiring your sensor, your shield should be connected to a network with an Ethernet cable. You will need to change the network settings in the program to correspond to your network.
2525

content/hardware/03.nano/boards/nano-33-ble-rev2/tutorials/cheat-sheet/ble-cheat-sheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ libraries:
1717
- name: Arduino APDS9960
1818
url: https://www.arduino.cc/en/Reference/ArduinoAPDS9960
1919
- name: Arduino SPI
20-
url: https://www.arduino.cc/en/reference/SPI
20+
url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/
2121
- name: Arduino Wire
2222
url: https://www.arduino.cc/en/Reference/Wire
2323
- name: ArduinoBLE
@@ -224,7 +224,7 @@ The pins used for SPI (Serial Peripheral Interface) on the Nano 33 BLE Rev2 are
224224

225225
***The signal names MOSI, MISO and SS have been replaced by COPI (Controller Out, Peripheral In), CIPO (Controller In, Peripheral Out) and CS (Chip Select).***
226226

227-
To use SPI, we first need to include the [SPI](https://www.arduino.cc/en/reference/SPI) library.
227+
To use SPI, we first need to include the [SPI](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) library.
228228

229229
```arduino
230230
#include <SPI.h>

content/hardware/03.nano/boards/nano-33-ble-sense-rev2/tutorials/cheat-sheet/ble-cheat-sheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ libraries:
1717
- name: Arduino APDS9960
1818
url: https://www.arduino.cc/en/Reference/ArduinoAPDS9960
1919
- name: Arduino SPI
20-
url: https://www.arduino.cc/en/reference/SPI
20+
url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/
2121
- name: Arduino Wire
2222
url: https://www.arduino.cc/en/Reference/Wire
2323
- name: ArduinoBLE
@@ -395,7 +395,7 @@ The pins used for SPI (Serial Peripheral Interface) on the Nano 33 BLE Sense Rev
395395

396396
***The signal names MOSI, MISO and SS has been replaced by COPI (Controller Out, Peripheral In), CIPO (Controller In, Peripheral Out) and CS (Chip Select).***
397397

398-
To use SPI, we first need to include the [SPI](https://www.arduino.cc/en/reference/SPI) library.
398+
To use SPI, we first need to include the [SPI](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) library.
399399

400400
```arduino
401401
#include <SPI.h>

content/hardware/03.nano/boards/nano-33-ble-sense/tutorials/cheat-sheet/ble-cheat-sheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ libraries:
1717
- name: Arduino APDS9960
1818
url: https://www.arduino.cc/en/Reference/ArduinoAPDS9960
1919
- name: Arduino SPI
20-
url: https://www.arduino.cc/en/reference/SPI
20+
url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/
2121
- name: Arduino Wire
2222
url: https://www.arduino.cc/en/Reference/Wire
2323
- name: ArduinoBLE
@@ -393,7 +393,7 @@ The pins used for SPI (Serial Peripheral Interface) on the Nano 33 BLE Sense are
393393

394394
***The signal names MOSI, MISO and SS has been replaced by COPI (Controller Out, Peripheral In), CIPO (Controller In, Peripheral Out) and CS (Chip Select).***
395395

396-
To use SPI, we first need to include the [SPI](https://www.arduino.cc/en/reference/SPI) library.
396+
To use SPI, we first need to include the [SPI](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) library.
397397

398398
```arduino
399399
#include <SPI.h>

content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-01-technical-reference/rp2040-01-technical-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ libraries:
1919
- name: Arduino WifiNINA
2020
url: https://www.arduino.cc/en/Reference/WiFiNINA
2121
- name: Arduino SPI
22-
url: https://www.arduino.cc/en/reference/SPI
22+
url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/
2323
- name: Arduino Wire
2424
url: https://www.arduino.cc/en/Reference/Wire
2525
- name: ArduinoBLE
@@ -347,7 +347,7 @@ The pins used for SPI (Serial Peripheral Interface) on the Nano RP2040 Connect a
347347

348348
***The signal names MOSI, MISO and SS has been replaced by COPI (Controller Out, Peripheral In), CIPO (Controller In, Peripheral Out) and CS (Chip Select).***
349349

350-
To use SPI, we first need to include the [SPI](https://www.arduino.cc/en/reference/SPI) library.
350+
To use SPI, we first need to include the [SPI](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) library.
351351

352352
```arduino
353353
#include <SPI.h>

content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-web-server-rgb/rp2040-web-server-rgb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ libraries:
1212
- name: Arduino WifiNINA
1313
url: https://www.arduino.cc/en/Reference/WiFiNINA
1414
- name: Arduino SPI
15-
url: https://www.arduino.cc/en/reference/SPI
15+
url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/
1616
hardware:
1717
- hardware/03.nano/boards/nano-rp2040-connect
1818
software:

content/hardware/06.nicla/boards/nicla-sense-me/tutorials/cheat-sheet/cheat-sheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ libraries:
1515
- name: Arduino PDM
1616
url: https://www.arduino.cc/en/Reference/PDM
1717
- name: Arduino SPI
18-
url: https://www.arduino.cc/en/reference/SPI
18+
url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/
1919
- name: Arduino Wire
2020
url: https://www.arduino.cc/en/Reference/Wire
2121
- name: ArduinoBLE
@@ -748,7 +748,7 @@ The pins used for SPI (Serial Peripheral Interface) on the Nicla Sense ME are th
748748

749749
You can refer to the [pinout](#pins) above to find them on the board.
750750

751-
To use SPI, you first need to include the [SPI](https://www.arduino.cc/en/reference/SPI) library.
751+
To use SPI, you first need to include the [SPI](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) library.
752752

753753
```arduino
754754
#include <SPI.h>

content/hardware/10.mega/boards/due/tutorials/due-extended-spi/due-extended-spi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ author: "Arduino"
1414
---
1515

1616

17-
> These APIs should not be used in new projects. Use [SPISettings](https://www.arduino.cc/en/Reference/SPISettings) with [SPI.beginTransaction()](https://www.arduino.cc/en/Tutorial/SPITransaction) to configure SPI parameters.
17+
> These APIs should not be used in new projects. Use [SPISettings](https://reference.arduino.cc/reference/en/language/functions/communication/spi/Settings) with [SPI.beginTransaction()](https://www.arduino.cc/en/Tutorial/SPITransaction) to configure SPI parameters.
1818
1919
On the Arduino Due, the SAM3X has advanced SPI capabilities. It is possible to use these extended methods, or the AVR-based ones.
2020

@@ -84,6 +84,6 @@ byte response2 = SPI.transfer(10, 0×00);
8484

8585
The parameter SPI_CONTINUE ensures that chip selection is keep active between transfers. On the last transfer SPI_CONTINUE is not specified as it's the last byte transferred.
8686

87-
See the individual reference pages for [setClockDivider()](https://www.arduino.cc/en/Reference/SPISetClockDivider), [setDataMode()](https://www.arduino.cc/en/Reference/SPISetDataMode), [transfer()](https://www.arduino.cc/en/Reference/SPITransfer), [setBitOrder()](https://www.arduino.cc/en/Reference/SPISetBitOrder) for proper syntax when using the extended methods.
87+
See the individual reference pages for [setClockDivider()](https://reference.arduino.cc/reference/en/language/functions/communication/spi/SetClockDivider), [setDataMode()](https://reference.arduino.cc/reference/en/language/functions/communication/spi/SetDataMode), [transfer()](https://reference.arduino.cc/reference/en/language/functions/communication/spi/Transfer), [setBitOrder()](https://reference.arduino.cc/reference/en/language/functions/communication/spi/SetBitOrder) for proper syntax when using the extended methods.
8888

8989
>NB : once SPI.begin() is called, the declared pin will not be available as a general purpose I/O pin.

content/retired/01.boards/arduino-101-619/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ In addition, some pins have specialized functions:
7777

7878
* Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data. These pins are connected to the Serial1 class.
7979
* External Interrupts on all pins. Can trigger an interrupt on a low value, high value, a rising or falling edge, or a change in value (change is only supported by pins 2, 5, 7, 8, 10, 11, 12, 13). See the [attachInterrupt()](https://www.arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt/) function for details.
80-
* SPI: SS, MOSI, MISO, SCK. Located on the SPI header support SPI communication using the [SPI library](https://www.arduino.cc/en/Reference/SPI).
80+
* SPI: SS, MOSI, MISO, SCK. Located on the SPI header support SPI communication using the [SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/).
8181
* LED: 13\. There is a built-in LED driven by digital pin 13\. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off.
8282
* Analog Inputs. Six of the 20 general purpose I/O pins on the 101 provide analog input. These are labeled A0 through A5, and each provide 10 bits of resolution (i.e. 1024 different values). They measure from ground to 3.3 volts
8383
* TWI: SDA pin and SCL pin. Support TWI communication using the [Wire library](https://www.arduino.cc/en/Reference/Wire)

0 commit comments

Comments
 (0)