From c696179693c10c14ffd57f07dda6bebd9fa9a265 Mon Sep 17 00:00:00 2001 From: Fabian Egli Date: Wed, 18 Dec 2024 12:31:58 +0100 Subject: [PATCH 1/2] fix broken link to SPI Library reference 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. --- content/learn/05.communication/02.spi/spi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/learn/05.communication/02.spi/spi.md b/content/learn/05.communication/02.spi/spi.md index 776dbff976..10dab3bb03 100644 --- a/content/learn/05.communication/02.spi/spi.md +++ b/content/learn/05.communication/02.spi/spi.md @@ -22,7 +22,7 @@ difficulty: 'intermediate' The SPI Library is included in every Arduino core/platform, so you do not need to install it externally. You can read more about SPI functions in the links below: -- [SPI Library](https://www.arduino.cc/en/reference/SPI) +- [SPI Library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) - [GitHub (ArduinoCore-avr)](https://github.com/arduino/ArduinoCore-avr/tree/master/libraries/SPI) ## Serial Peripheral Interface (SPI) From ced9bcc6c5ed6e6669d52d14927699ec13e1e800 Mon Sep 17 00:00:00 2001 From: Fabian Egli Date: Wed, 18 Dec 2024 15:32:40 +0000 Subject: [PATCH 2/2] 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. --- .../tutorials/mkr-1000-battery-life/mkr-1000-battery-life.md | 4 ++-- .../tutorials/barometric-pressure-web-server/content.md | 2 +- .../nano-33-ble-rev2/tutorials/cheat-sheet/ble-cheat-sheet.md | 4 ++-- .../tutorials/cheat-sheet/ble-cheat-sheet.md | 4 ++-- .../tutorials/cheat-sheet/ble-cheat-sheet.md | 4 ++-- .../rp2040-01-technical-reference.md | 4 ++-- .../tutorials/rp2040-web-server-rgb/rp2040-web-server-rgb.md | 2 +- .../nicla-sense-me/tutorials/cheat-sheet/cheat-sheet.md | 4 ++-- .../boards/due/tutorials/due-extended-spi/due-extended-spi.md | 4 ++-- content/retired/01.boards/arduino-101-619/content.md | 2 +- .../01.boards/arduino-ethernet-rev3-with-poe/content.md | 4 ++-- .../01.boards/arduino-ethernet-rev3-without-poe/content.md | 4 ++-- content/retired/01.boards/arduino-mega-adk-rev3/content.md | 4 ++-- content/retired/01.boards/arduino-primo-core/content.md | 4 ++-- content/retired/01.boards/arduino-primo/content.md | 4 ++-- .../01.boards/arduino-uno-rev3-with-long-pins/content.md | 2 +- content/retired/04.other/arduino-lcd-screen/content.md | 2 +- content/retired/04.other/arduino-robot/content.md | 2 +- content/retired/05.archived-libraries/Robot/Robot.md | 2 +- .../communication/DigitalPotControl/DigitalPotControl.md | 2 +- .../scheduled-wifi-ssl-web-client.md | 4 ++-- 21 files changed, 34 insertions(+), 34 deletions(-) diff --git a/content/hardware/01.mkr/01.boards/mkr-1000-wifi/tutorials/mkr-1000-battery-life/mkr-1000-battery-life.md b/content/hardware/01.mkr/01.boards/mkr-1000-wifi/tutorials/mkr-1000-battery-life/mkr-1000-battery-life.md index 2a10a6ae81..8198c749a2 100644 --- a/content/hardware/01.mkr/01.boards/mkr-1000-wifi/tutorials/mkr-1000-battery-life/mkr-1000-battery-life.md +++ b/content/hardware/01.mkr/01.boards/mkr-1000-wifi/tutorials/mkr-1000-battery-life/mkr-1000-battery-life.md @@ -6,7 +6,7 @@ tags: - Rechargeable batteries libraries: - name: SPI library - url: https://www.arduino.cc/en/reference/SPI + url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/ - name: WiFi101 library url: https://www.arduino.cc/en/Reference/WiFi101 author: "Arduino" @@ -36,7 +36,7 @@ This tutorial gives an overview on how to determine the duration of a rechargeab - Ammeter - Arduino IDE ([online](https://create.arduino.cc/) or [offline](https://www.arduino.cc/en/main/software)). -- [SPI library](https://www.arduino.cc/en/reference/SPI) +- [SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) - [WiFi101 library](https://www.arduino.cc/en/Reference/WiFi101) diff --git a/content/hardware/02.hero/shields/ethernet-shield-rev2/tutorials/barometric-pressure-web-server/content.md b/content/hardware/02.hero/shields/ethernet-shield-rev2/tutorials/barometric-pressure-web-server/content.md index 3d5ad5ab34..b8d6c8e0fa 100644 --- a/content/hardware/02.hero/shields/ethernet-shield-rev2/tutorials/barometric-pressure-web-server/content.md +++ b/content/hardware/02.hero/shields/ethernet-shield-rev2/tutorials/barometric-pressure-web-server/content.md @@ -19,7 +19,7 @@ See the [Barometric Pressure Sensor](https://arduino.cc/en/Tutorial/LibraryExamp ## Circuit -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. +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. 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. diff --git a/content/hardware/03.nano/boards/nano-33-ble-rev2/tutorials/cheat-sheet/ble-cheat-sheet.md b/content/hardware/03.nano/boards/nano-33-ble-rev2/tutorials/cheat-sheet/ble-cheat-sheet.md index aee6b51c66..2f211baf69 100644 --- a/content/hardware/03.nano/boards/nano-33-ble-rev2/tutorials/cheat-sheet/ble-cheat-sheet.md +++ b/content/hardware/03.nano/boards/nano-33-ble-rev2/tutorials/cheat-sheet/ble-cheat-sheet.md @@ -17,7 +17,7 @@ libraries: - name: Arduino APDS9960 url: https://www.arduino.cc/en/Reference/ArduinoAPDS9960 - name: Arduino SPI - url: https://www.arduino.cc/en/reference/SPI + url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/ - name: Arduino Wire url: https://www.arduino.cc/en/Reference/Wire - name: ArduinoBLE @@ -224,7 +224,7 @@ The pins used for SPI (Serial Peripheral Interface) on the Nano 33 BLE Rev2 are ***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).*** -To use SPI, we first need to include the [SPI](https://www.arduino.cc/en/reference/SPI) library. +To use SPI, we first need to include the [SPI](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) library. ```arduino #include diff --git a/content/hardware/03.nano/boards/nano-33-ble-sense-rev2/tutorials/cheat-sheet/ble-cheat-sheet.md b/content/hardware/03.nano/boards/nano-33-ble-sense-rev2/tutorials/cheat-sheet/ble-cheat-sheet.md index b9a8450835..a22de5a782 100644 --- a/content/hardware/03.nano/boards/nano-33-ble-sense-rev2/tutorials/cheat-sheet/ble-cheat-sheet.md +++ b/content/hardware/03.nano/boards/nano-33-ble-sense-rev2/tutorials/cheat-sheet/ble-cheat-sheet.md @@ -17,7 +17,7 @@ libraries: - name: Arduino APDS9960 url: https://www.arduino.cc/en/Reference/ArduinoAPDS9960 - name: Arduino SPI - url: https://www.arduino.cc/en/reference/SPI + url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/ - name: Arduino Wire url: https://www.arduino.cc/en/Reference/Wire - name: ArduinoBLE @@ -395,7 +395,7 @@ The pins used for SPI (Serial Peripheral Interface) on the Nano 33 BLE Sense Rev ***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).*** -To use SPI, we first need to include the [SPI](https://www.arduino.cc/en/reference/SPI) library. +To use SPI, we first need to include the [SPI](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) library. ```arduino #include diff --git a/content/hardware/03.nano/boards/nano-33-ble-sense/tutorials/cheat-sheet/ble-cheat-sheet.md b/content/hardware/03.nano/boards/nano-33-ble-sense/tutorials/cheat-sheet/ble-cheat-sheet.md index de042c80e4..2297353ef8 100644 --- a/content/hardware/03.nano/boards/nano-33-ble-sense/tutorials/cheat-sheet/ble-cheat-sheet.md +++ b/content/hardware/03.nano/boards/nano-33-ble-sense/tutorials/cheat-sheet/ble-cheat-sheet.md @@ -17,7 +17,7 @@ libraries: - name: Arduino APDS9960 url: https://www.arduino.cc/en/Reference/ArduinoAPDS9960 - name: Arduino SPI - url: https://www.arduino.cc/en/reference/SPI + url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/ - name: Arduino Wire url: https://www.arduino.cc/en/Reference/Wire - name: ArduinoBLE @@ -393,7 +393,7 @@ The pins used for SPI (Serial Peripheral Interface) on the Nano 33 BLE Sense are ***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).*** -To use SPI, we first need to include the [SPI](https://www.arduino.cc/en/reference/SPI) library. +To use SPI, we first need to include the [SPI](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) library. ```arduino #include diff --git a/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-01-technical-reference/rp2040-01-technical-reference.md b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-01-technical-reference/rp2040-01-technical-reference.md index 53562ceb57..bfd9c8f20e 100644 --- a/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-01-technical-reference/rp2040-01-technical-reference.md +++ b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-01-technical-reference/rp2040-01-technical-reference.md @@ -19,7 +19,7 @@ libraries: - name: Arduino WifiNINA url: https://www.arduino.cc/en/Reference/WiFiNINA - name: Arduino SPI - url: https://www.arduino.cc/en/reference/SPI + url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/ - name: Arduino Wire url: https://www.arduino.cc/en/Reference/Wire - name: ArduinoBLE @@ -347,7 +347,7 @@ The pins used for SPI (Serial Peripheral Interface) on the Nano RP2040 Connect a ***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).*** -To use SPI, we first need to include the [SPI](https://www.arduino.cc/en/reference/SPI) library. +To use SPI, we first need to include the [SPI](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) library. ```arduino #include diff --git a/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-web-server-rgb/rp2040-web-server-rgb.md b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-web-server-rgb/rp2040-web-server-rgb.md index ef334ebfcd..c6bd21b347 100644 --- a/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-web-server-rgb/rp2040-web-server-rgb.md +++ b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-web-server-rgb/rp2040-web-server-rgb.md @@ -12,7 +12,7 @@ libraries: - name: Arduino WifiNINA url: https://www.arduino.cc/en/Reference/WiFiNINA - name: Arduino SPI - url: https://www.arduino.cc/en/reference/SPI + url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/ hardware: - hardware/03.nano/boards/nano-rp2040-connect software: diff --git a/content/hardware/06.nicla/boards/nicla-sense-me/tutorials/cheat-sheet/cheat-sheet.md b/content/hardware/06.nicla/boards/nicla-sense-me/tutorials/cheat-sheet/cheat-sheet.md index 592492215f..502d191f24 100644 --- a/content/hardware/06.nicla/boards/nicla-sense-me/tutorials/cheat-sheet/cheat-sheet.md +++ b/content/hardware/06.nicla/boards/nicla-sense-me/tutorials/cheat-sheet/cheat-sheet.md @@ -15,7 +15,7 @@ libraries: - name: Arduino PDM url: https://www.arduino.cc/en/Reference/PDM - name: Arduino SPI - url: https://www.arduino.cc/en/reference/SPI + url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/ - name: Arduino Wire url: https://www.arduino.cc/en/Reference/Wire - name: ArduinoBLE @@ -748,7 +748,7 @@ The pins used for SPI (Serial Peripheral Interface) on the Nicla Sense ME are th You can refer to the [pinout](#pins) above to find them on the board. -To use SPI, you first need to include the [SPI](https://www.arduino.cc/en/reference/SPI) library. +To use SPI, you first need to include the [SPI](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) library. ```arduino #include diff --git a/content/hardware/10.mega/boards/due/tutorials/due-extended-spi/due-extended-spi.md b/content/hardware/10.mega/boards/due/tutorials/due-extended-spi/due-extended-spi.md index cbb86ce96b..21a1b2bebb 100644 --- a/content/hardware/10.mega/boards/due/tutorials/due-extended-spi/due-extended-spi.md +++ b/content/hardware/10.mega/boards/due/tutorials/due-extended-spi/due-extended-spi.md @@ -14,7 +14,7 @@ author: "Arduino" --- -> 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. +> 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. On the Arduino Due, the SAM3X has advanced SPI capabilities. It is possible to use these extended methods, or the AVR-based ones. @@ -84,6 +84,6 @@ byte response2 = SPI.transfer(10, 0×00); 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. -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. +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. >NB : once SPI.begin() is called, the declared pin will not be available as a general purpose I/O pin. \ No newline at end of file diff --git a/content/retired/01.boards/arduino-101-619/content.md b/content/retired/01.boards/arduino-101-619/content.md index f8e8d023f2..16ab9d35d0 100644 --- a/content/retired/01.boards/arduino-101-619/content.md +++ b/content/retired/01.boards/arduino-101-619/content.md @@ -77,7 +77,7 @@ In addition, some pins have specialized functions: * Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data. These pins are connected to the Serial1 class. * 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. -* SPI: SS, MOSI, MISO, SCK. Located on the SPI header support SPI communication using the [SPI library](https://www.arduino.cc/en/Reference/SPI). +* 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/). * 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. * 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 * TWI: SDA pin and SCL pin. Support TWI communication using the [Wire library](https://www.arduino.cc/en/Reference/Wire) diff --git a/content/retired/01.boards/arduino-ethernet-rev3-with-poe/content.md b/content/retired/01.boards/arduino-ethernet-rev3-with-poe/content.md index 2fbc786800..dd3df285b1 100644 --- a/content/retired/01.boards/arduino-ethernet-rev3-with-poe/content.md +++ b/content/retired/01.boards/arduino-ethernet-rev3-with-poe/content.md @@ -88,7 +88,7 @@ Each of the 14 digital pins on the Ethernet board can be used as an input or out * Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data. * 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. * PWM: 3, 5, 6, 9, and 10\. Provide 8-bit PWM output with the [analogWrite()](https://www.arduino.cc/en/Reference/AnalogWrite) function. -* 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). +* 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/). * 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. 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 A [SoftwareSerial library](http://www.arduino.cc/en/Reference/SoftwareSerial) allows for serial communication on any of the Uno's digital pins. -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). +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/). 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. diff --git a/content/retired/01.boards/arduino-ethernet-rev3-without-poe/content.md b/content/retired/01.boards/arduino-ethernet-rev3-without-poe/content.md index 6f5af0bd39..db697e3d0a 100644 --- a/content/retired/01.boards/arduino-ethernet-rev3-without-poe/content.md +++ b/content/retired/01.boards/arduino-ethernet-rev3-without-poe/content.md @@ -88,7 +88,7 @@ Each of the 14 digital pins on the Ethernet board can be used as an input or out * Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data. * 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. * PWM: 3, 5, 6, 9, and 10\. Provide 8-bit PWM output with the [analogWrite()](https://www.arduino.cc/en/Reference/AnalogWrite) function. -* 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). +* 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/). * 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. 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 A [SoftwareSerial library](http://www.arduino.cc/en/Reference/SoftwareSerial) allows for serial communication on any of the Uno's digital pins. -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). +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/). 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. diff --git a/content/retired/01.boards/arduino-mega-adk-rev3/content.md b/content/retired/01.boards/arduino-mega-adk-rev3/content.md index 84b245f2fd..d89a7f98c5 100644 --- a/content/retired/01.boards/arduino-mega-adk-rev3/content.md +++ b/content/retired/01.boards/arduino-mega-adk-rev3/content.md @@ -74,7 +74,7 @@ Each of the 50 digital pins on the MEGA ADK can be used as an input or output, u * 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. * 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. * PWM: 2 to 13 and 44 to 46\. Provide 8-bit PWM output with the [analogWrite()](https://www.arduino.cc/en/Reference/AnalogWrite) function. -* 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. +* 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. * USB Host: MAX3421E. 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 A [SoftwareSerial library](http://www.arduino.cc/en/Reference/SoftwareSerial) allows for serial communication on any of the MEGA ADK's digital pins. -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). +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/). 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. diff --git a/content/retired/01.boards/arduino-primo-core/content.md b/content/retired/01.boards/arduino-primo-core/content.md index e8d21a4bc2..918d0e115d 100644 --- a/content/retired/01.boards/arduino-primo-core/content.md +++ b/content/retired/01.boards/arduino-primo-core/content.md @@ -67,7 +67,7 @@ In addition, some pins have specialized functions: * Serial: RX and TX: these pins are used to receive (RX) and transmit (TX) TTL serial data. * External Interrupts: all pins can be used as external interrupts. Keep in mind that you can’t use more than eight interrupt pins at the same time. 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. * PWM: pulse width modulation is available on all pins. The 12-bit PWM output resolution can be adjusted using the [analogWriteResolution()](https://www.arduino.cc/reference/en/language/functions/analog-io/analogwriteresolution/) function. -* SPI: a Serial Peripheral Interface (SPI) bus is available using pins 4 (MOSI), 5 (MISO), and 6 (SCK) and 7 (SS) but it is possible to change them and use other pins. For more information about it visit the [SPI library](https://www.arduino.cc/en/Reference/SPI). +* SPI: a Serial Peripheral Interface (SPI) bus is available using pins 4 (MOSI), 5 (MISO), and 6 (SCK) and 7 (SS) but it is possible to change them and use other pins. For more information about it visit the [SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/). * TWI: Two-wire interface (TWI) communication is available from the serial data line (SDA) and serial clock line (SCL) pins. TWI communication is supported using the [Wire library](https://www.arduino.cc/en/Reference/Wire). * RESET. Bringing the reset line LOW will reset the microcontroller. * NFC1 and NFC2 for NFC communication @@ -90,7 +90,7 @@ The board supports also the NFC communication until to 106 kbps as bit rate and Furthermore the [nRF52832](/resources/datasheets/nRF52832_PS_v1.1.pdf) supports also the I2C (TWI) communication. The Arduino software includes a [Wire library](https://www.arduino.cc/en/Reference/Wire) to simplify use of the I2C bus. -In the Arduino Primo Core is also possible to use the SPI communication, using the default configuration (MOSI=4, MISO=5, SCK=6, SS=7) or defining the pins that you use directly in the sketch. For more information visit the [SPI library](https://www.arduino.cc/en/Reference/SPI). +In the Arduino Primo Core is also possible to use the SPI communication, using the default configuration (MOSI=4, MISO=5, SCK=6, SS=7) or defining the pins that you use directly in the sketch. For more information visit the [SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/). ### Programming diff --git a/content/retired/01.boards/arduino-primo/content.md b/content/retired/01.boards/arduino-primo/content.md index 1ef1e425dd..69d689df6b 100644 --- a/content/retired/01.boards/arduino-primo/content.md +++ b/content/retired/01.boards/arduino-primo/content.md @@ -81,7 +81,7 @@ Each of the 14 digital pins on the Primo can be used as an input or output, usin * Serial: 0 (RX) and 1 (TX): Pins 0 and 1 are used to receive (RX) and transmit (TX) TTL serial data. On Primo TX and RX LEDs are missing but the ON LED blinks every time you send data over the Serial port of the nRF52 * External Interrupts: all pins (digital and analog) can be used as external interrupts except pins 0 and 1\. Keep in mind that you can’t use more than eight interrupt pins at the same time. 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. * PWM: pulse width modulation is available on all digital pins except pins 0 and 1\. The 12-bit PWM output resolution can be adjusted using the [analogWriteResolution()](https://www.arduino.cc/reference/en/language/functions/analog-io/analogwriteresolution/) function. -* SPI: A serial peripheral interface (SPI) bus is available using pins 10 (SS), 11 (MOSI), 12 (MISO), and 13 (SCK) as well as using the onboard ICSP header. SPI communication is available using the [SPI library](https://www.arduino.cc/en/Reference/SPI). +* SPI: A serial peripheral interface (SPI) bus is available using pins 10 (SS), 11 (MOSI), 12 (MISO), and 13 (SCK) as well as using the onboard ICSP header. SPI communication is available using the [SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/). * LED: 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. The Primo has 6 analog inputs, labeled A0 through A5, each of which provide up to 14 bits of resolution (i.e., 16384 different values). By default they measure from ground to 3.3 volts, though it is possible to change the upper end of their range using the [analogReference()](https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/) function. A few additional pins are on the headers and those pins have specialized functions: * TWI: Two-wire interface (TWI) communication is available from the serial data line (SDA) and serial clock line (SCL) pins (located near AREF). TWI communication is supported using the [Wire library](https://www.arduino.cc/en/Reference/Wire). @@ -96,7 +96,7 @@ The easiest method to communicate is to use a USB cable between the micro-USB po A [SoftwareSerial library](https://www.arduino.cc/en/Reference/SoftwareSerial) allows for serial communication over any of the digital pins. -The [nRF52832](/resources/datasheets/nRF52832_PS_v1.1.pdf) also supports I2C (TWI) and SPI communication. The Arduino software includes a [Wire library](https://www.arduino.cc/en/Reference/Wire) to simplify use of the I2C bus and the [SPI library](https://www.arduino.cc/en/Reference/SPI) for the SPI communication. +The [nRF52832](/resources/datasheets/nRF52832_PS_v1.1.pdf) also supports I2C (TWI) and SPI communication. The Arduino software includes a [Wire library](https://www.arduino.cc/en/Reference/Wire) to simplify use of the I2C bus and the [SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) for the SPI communication. The board allows wireless communication with other devices via Bluetooth, NFC, WiFi and IR, using specific libraries for each protocol. diff --git a/content/retired/01.boards/arduino-uno-rev3-with-long-pins/content.md b/content/retired/01.boards/arduino-uno-rev3-with-long-pins/content.md index 6246b1ddc1..2ac47ee10d 100644 --- a/content/retired/01.boards/arduino-uno-rev3-with-long-pins/content.md +++ b/content/retired/01.boards/arduino-uno-rev3-with-long-pins/content.md @@ -114,7 +114,7 @@ The Arduino UNO has a number of facilities for communicating with a computer, an A [SoftwareSerial library](https://www.arduino.cc/en/Reference/SoftwareSerial) allows serial communication on any of the UNO's digital pins. -The ATmega328 also supports I2C (TWI) and SPI communication. The Arduino Software (IDE) includes a Wire library to simplify use of the I2C 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). +The ATmega328 also supports I2C (TWI) and SPI communication. The Arduino Software (IDE) includes a Wire library to simplify use of the I2C 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/). ### Automatic (Software) Reset diff --git a/content/retired/04.other/arduino-lcd-screen/content.md b/content/retired/04.other/arduino-lcd-screen/content.md index 0d48d16b1c..50b13d9d36 100644 --- a/content/retired/04.other/arduino-lcd-screen/content.md +++ b/content/retired/04.other/arduino-lcd-screen/content.md @@ -53,4 +53,4 @@ The Arduino TFT library extends the [Adafruit GFX](https://github.com/adafruit/A The library is backwards compatible, which means you can still use the Adafruit functions[described here](http://learn.adafruit.com/adafruit-gfx-graphics-library/overview). -The TFT library relies on the [SPI library](https://www.arduino.cc/en/Reference/SPI), which must be included in any sketch that uses the scree. If you wish to use the SD card, you need to include the [SD library](https://www.arduino.cc/en/Reference/SD) as well. +The TFT library relies on the [SPI library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/), which must be included in any sketch that uses the scree. If you wish to use the SD card, you need to include the [SD library](https://www.arduino.cc/en/Reference/SD) as well. diff --git a/content/retired/04.other/arduino-robot/content.md b/content/retired/04.other/arduino-robot/content.md index 2e00116112..c01421d1ad 100644 --- a/content/retired/04.other/arduino-robot/content.md +++ b/content/retired/04.other/arduino-robot/content.md @@ -131,7 +131,7 @@ The Robot comes with a series of pre-soldered connectors. There are a number of ### Communication -The Robot has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. The ATmega32U4 provides UART TTL (5V) serial communication, which is available on digital the 10-pin board-to-board connector. The 32U4 also allows for serial (CDC) communication over USB and appears as a virtual com port to software on the computer. The chip also acts as a full speed USB 2.0 device, using standard USB COM drivers. [On Windows, a .inf file is required](http://arduino.cc/en/Guide/Windows#toc4). The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Robot board. The RX (LED1) and TX LEDs on the board will flash when data is being transmitted via the USB connection to the computer (but not for serial communication between boards). *Each one of the boards has a separate USB product identifier and will show up as different ports on you IDE.* *Make sure you choose the right one when programming.* The ATmega32U4 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C 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). +The Robot has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. The ATmega32U4 provides UART TTL (5V) serial communication, which is available on digital the 10-pin board-to-board connector. The 32U4 also allows for serial (CDC) communication over USB and appears as a virtual com port to software on the computer. The chip also acts as a full speed USB 2.0 device, using standard USB COM drivers. [On Windows, a .inf file is required](http://arduino.cc/en/Guide/Windows#toc4). The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Robot board. The RX (LED1) and TX LEDs on the board will flash when data is being transmitted via the USB connection to the computer (but not for serial communication between boards). *Each one of the boards has a separate USB product identifier and will show up as different ports on you IDE.* *Make sure you choose the right one when programming.* The ATmega32U4 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C 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/). ### Programming diff --git a/content/retired/05.archived-libraries/Robot/Robot.md b/content/retired/05.archived-libraries/Robot/Robot.md index f352e6d219..75c46f8e6b 100644 --- a/content/retired/05.archived-libraries/Robot/Robot.md +++ b/content/retired/05.archived-libraries/Robot/Robot.md @@ -37,7 +37,7 @@ For more information about the Robot, visit the getting started guide and the ha ## Library structure -This library enables easy access to the functionality of the Arduino Robot. It relies on a number of 3rd party libraries including Fat16, [EasyTransfer](https://github.com/madsci1016/Arduino-EasyTransfer), [Squawk](https://github.com/stg/Squawk), and [IRRemote](https://github.com/Arduino-IRremote/Arduino-IRremote). It also relies on a number of Arduino libraries like [TFT](https://www.arduino.cc/en/Reference/TFTLibrary), [SPI](https://www.arduino.cc/en/Reference/SPI), and [Wire](https://www.arduino.cc/en/reference/wire). Their functionality has been replicated inside the robot's library to optimize the code's size. +This library enables easy access to the functionality of the Arduino Robot. It relies on a number of 3rd party libraries including Fat16, [EasyTransfer](https://github.com/madsci1016/Arduino-EasyTransfer), [Squawk](https://github.com/stg/Squawk), and [IRRemote](https://github.com/Arduino-IRremote/Arduino-IRremote). It also relies on a number of Arduino libraries like [TFT](https://www.arduino.cc/en/Reference/TFTLibrary), [SPI](https://reference.arduino.cc/reference/en/language/functions/communication/spi/), and [Wire](https://www.arduino.cc/en/reference/wire). Their functionality has been replicated inside the robot's library to optimize the code's size. It is possible to program both the Control and the Motor boards. However, it is recommended that novice programmers begin with programming the control board, leaving the motor board for later. The library exposes the sensors on both boards through a single object. diff --git a/content/tutorials/communication/DigitalPotControl/DigitalPotControl.md b/content/tutorials/communication/DigitalPotControl/DigitalPotControl.md index f08edb31f2..843c62066d 100644 --- a/content/tutorials/communication/DigitalPotControl/DigitalPotControl.md +++ b/content/tutorials/communication/DigitalPotControl/DigitalPotControl.md @@ -4,7 +4,7 @@ description: 'Control a AD5206 digital potentiometer using the SPI protocol.' tags: [SPI, Digital Potentiometer] --- -In this tutorial you will learn how to control the AD5206 digital potentiometer using Serial Peripheral Interface (SPI). For an explanation of SPI see the [SPI Library reference](https://www.arduino.cc/en/Reference/SPI). +In this tutorial you will learn how to control the AD5206 digital potentiometer using Serial Peripheral Interface (SPI). For an explanation of SPI see the [SPI Library reference](https://reference.arduino.cc/reference/en/language/functions/communication/spi/). Digital potentiometers are useful when you need to vary the resistance in a circuit electronically rather than by hand. Example applications include LED dimming, audio signal conditioning and tone generation. In this example we will use a six channel digital potentiometer to control the brightness of six LEDs. The steps we will cover for implementing SPI communication can be modified for use with most other SPI devices. diff --git a/content/tutorials/generic/scheduled-wifi-ssl-web-client/scheduled-wifi-ssl-web-client.md b/content/tutorials/generic/scheduled-wifi-ssl-web-client/scheduled-wifi-ssl-web-client.md index 1d48b0de01..354f5438a4 100644 --- a/content/tutorials/generic/scheduled-wifi-ssl-web-client/scheduled-wifi-ssl-web-client.md +++ b/content/tutorials/generic/scheduled-wifi-ssl-web-client/scheduled-wifi-ssl-web-client.md @@ -7,7 +7,7 @@ tags: - Serial Monitor libraries: - name: SPI Library - url: https://www.arduino.cc/en/reference/SPI + url: https://reference.arduino.cc/reference/en/language/functions/communication/spi/ - name: WiFi101 Library url: https://www.arduino.cc/en/Reference/WiFi101 - name: WiFiNINA Library @@ -43,7 +43,7 @@ With this tutorial you will use the Real Time Clock (RTC) alarm function and int - Arduino MKR1000 WiFi or Arduino MKR WiFi 1010, MKR Vidor 4000 [Link to store](https://store.arduino.cc/) - Wi-Fi access to the Internet - Arduino IDE ([online](https://create.arduino.cc/) or [offline](https://www.arduino.cc/en/main/software)). -- [SPI Library](https://www.arduino.cc/en/reference/SPI) +- [SPI Library](https://reference.arduino.cc/reference/en/language/functions/communication/spi/) - [WiFi101 Library](https://www.arduino.cc/en/Reference/WiFi101) - [WiFiNINA Library](https://www.arduino.cc/en/Reference/WiFiNINA) (For MKR WiFi 1010 or MKR VIDOR 4000) - [RTCZero Library](https://www.arduino.cc/reference/en/libraries/rtczero/)