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

+2-2
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

+1-1
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

+2-2
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

+2-2
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

+2-2
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

+2-2
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

+1-1
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

+2-2
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

+2-2
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

+1-1
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)

content/retired/01.boards/arduino-ethernet-rev3-with-poe/content.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Each of the 14 digital pins on the Ethernet board can be used as an input or out
8888
* Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data.
8989
* External Interrupts: 2 and 3\. These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the [attachInterrupt()](https://www.arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt/) function for details.
9090
* PWM: 3, 5, 6, 9, and 10\. Provide 8-bit PWM output with the [analogWrite()](https://www.arduino.cc/en/Reference/AnalogWrite) function.
91-
* SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication using the[SPI library](https://www.arduino.cc/en/Reference/SPI).
91+
* SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication using the[SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/).
9292
* LED: 9\. There is a built-in LED connected to digital pin 9\. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off. On most other arduino boards, this LED is found on pin 13\. It is on pin 9 on the Ethernet board because pin 13 is used as part of the SPI connection.
9393

9494
The Ethernet board has 6 analog inputs, labeled A0 through A5, each of which provide 10 bits of resolution (i.e. 1024 different values). By default they measure from ground to 5 volts, though is it possible to change the upper end of their range using the AREF pin and the [analogReference](https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/)() function. Additionally, some pins have specialized functionality:
@@ -108,7 +108,7 @@ The Arduino Ethernet has a number of facilities for communicating with a compute
108108

109109
A [SoftwareSerial library](http://www.arduino.cc/en/Reference/SoftwareSerial) allows for serial communication on any of the Uno's digital pins.
110110

111-
The ATmega328 also supports TWI and SPI communication. The Arduino software includes a Wire library to simplify use of the TWI bus; see the [documentation](https://www.arduino.cc/en/Reference/Wire) for details. For SPI communication, use the [SPI library](https://www.arduino.cc/en/Reference/SPI).
111+
The ATmega328 also supports TWI and SPI communication. The Arduino software includes a Wire library to simplify use of the TWI bus; see the [documentation](https://www.arduino.cc/en/Reference/Wire) for details. For SPI communication, use the [SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/).
112112

113113
The board also can connect to a wired network via ethernet. When connecting to a network, you will need to provide an IP address and a MAC address. The [Ethernet Library](https://www.arduino.cc/en/Reference/Ethernet) is fully supported.
114114

content/retired/01.boards/arduino-ethernet-rev3-without-poe/content.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Each of the 14 digital pins on the Ethernet board can be used as an input or out
8888
* Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data.
8989
* External Interrupts: 2 and 3\. These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the [attachInterrupt()](https://www.arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt/) function for details.
9090
* PWM: 3, 5, 6, 9, and 10\. Provide 8-bit PWM output with the [analogWrite()](https://www.arduino.cc/en/Reference/AnalogWrite) function.
91-
* SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication using the[SPI library](https://www.arduino.cc/en/Reference/SPI).
91+
* SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication using the[SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/).
9292
* LED: 9\. There is a built-in LED connected to digital pin 9\. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off. On most other arduino boards, this LED is found on pin 13\. It is on pin 9 on the Ethernet board because pin 13 is used as part of the SPI connection.
9393

9494
The Ethernet board has 6 analog inputs, labeled A0 through A5, each of which provide 10 bits of resolution (i.e. 1024 different values). By default they measure from ground to 5 volts, though is it possible to change the upper end of their range using the AREF pin and the [analogReference](https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/)() function. Additionally, some pins have specialized functionality:
@@ -108,7 +108,7 @@ The Arduino Ethernet has a number of facilities for communicating with a compute
108108

109109
A [SoftwareSerial library](http://www.arduino.cc/en/Reference/SoftwareSerial) allows for serial communication on any of the Uno's digital pins.
110110

111-
The ATmega328 also supports TWI and SPI communication. The Arduino software includes a Wire library to simplify use of the TWI bus; see the [documentation](https://www.arduino.cc/en/Reference/Wire) for details. For SPI communication, use the [SPI library](https://www.arduino.cc/en/Reference/SPI).
111+
The ATmega328 also supports TWI and SPI communication. The Arduino software includes a Wire library to simplify use of the TWI bus; see the [documentation](https://www.arduino.cc/en/Reference/Wire) for details. For SPI communication, use the [SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/).
112112

113113
The board also can connect to a wired network via ethernet. When connecting to a network, you will need to provide an IP address and a MAC address. The [Ethernet Library](https://www.arduino.cc/en/Reference/Ethernet) is fully supported.
114114

content/retired/01.boards/arduino-mega-adk-rev3/content.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Each of the 50 digital pins on the MEGA ADK can be used as an input or output, u
7474
* Serial: 0 (RX) and 1 (TX); Serial 1: 19 (RX) and 18 (TX); Serial 2: 17 (RX) and 16 (TX); Serial 3: 15 (RX) and 14 (TX). Used to receive (RX) and transmit (TX) TTL serial data. Pins 0 and 1 are also connected to the corresponding pins of the ATmega8U2 USB-to-TTL Serial chip.
7575
* External Interrupts: 2 (interrupt 0), 3 (interrupt 1), 18 (interrupt 5), 19 (interrupt 4), 20 (interrupt 3), and 21 (interrupt 2). These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the [attachInterrupt()](https://www.arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt/) function for details.
7676
* PWM: 2 to 13 and 44 to 46\. Provide 8-bit PWM output with the [analogWrite()](https://www.arduino.cc/en/Reference/AnalogWrite) function.
77-
* SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS). These pins support SPI communication using the [SPI library](https://www.arduino.cc/en/Reference/SPI). The SPI pins are also broken out on the ICSP header, which is physically compatible with the Uno, Duemilanove and Diecimila.
77+
* SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS). These pins support SPI communication using the [SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/). The SPI pins are also broken out on the ICSP header, which is physically compatible with the Uno, Duemilanove and Diecimila.
7878
* USB Host: MAX3421E.
7979

8080
The MAX3421E communicate with Arduino with the SPI bus. So it uses the following pins:
@@ -98,7 +98,7 @@ The Arduino MEGA ADK has a number of facilities for communicating with a compute
9898

9999
A [SoftwareSerial library](http://www.arduino.cc/en/Reference/SoftwareSerial) allows for serial communication on any of the MEGA ADK's digital pins.
100100

101-
The ATmega2560 also supports TWI and SPI communication. The Arduino software includes a Wire library to simplify use of the TWI bus; see the [Wire library](https://www.arduino.cc/en/Reference/Wire) for details. For SPI communication, use the [SPI library](https://www.arduino.cc/en/Reference/SPI).
101+
The ATmega2560 also supports TWI and SPI communication. The Arduino software includes a Wire library to simplify use of the TWI bus; see the [Wire library](https://www.arduino.cc/en/Reference/Wire) for details. For SPI communication, use the [SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/).
102102

103103
The USB host interface given by MAX3421E IC allows the Arduino MEGA ADK to connect and interact to any type of device that have a USB port. For example, allows you to interact with many types of phones, controlling Canon cameras, interfacing with keyboard, mouse and games controllers as Wiimote and PS3.
104104

0 commit comments

Comments
 (0)