Loading...
Searching...
No Matches
SPI.h File Reference

Arduino SPI on the header pins: SCK = D13, MOSI = D11, MISO = D12. More...

#include "Arduino.h"
#include "api/HardwareSPI.h"
#include "hardware/spi.h"

Go to the source code of this file.

Classes

class  PhyduinoSPI
 SPI controller on one RP2040 SPI peripheral; sketches use SPI. More...

Variables

PhyduinoSPI SPI
 SPI on the header: SCK D13, MOSI D11, MISO D12.

Detailed Description

Arduino SPI on the header pins: SCK = D13, MOSI = D11, MISO = D12.

SS (D10) is not driven automatically; use digitalWrite() like on an Uno. The peripheral and pins are set in the variant's pins_arduino.h (PHYDUINO_SPI_INSTANCE, PIN_SPI_*).