Skip to content

Commit

Permalink
fix all broken links to the SPI Library reference documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianegli committed Dec 18, 2024
1 parent e24abd7 commit ced9bcc
Show file tree
Hide file tree
Showing 21 changed files with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 <SPI.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 <SPI.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 <SPI.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 <SPI.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 <SPI.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.
2 changes: 1 addition & 1 deletion content/retired/01.boards/arduino-101-619/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions content/retired/01.boards/arduino-mega-adk-rev3/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.

Expand Down
Loading

0 comments on commit ced9bcc

Please sign in to comment.