A little curiosity. A whole lot of making.Robotics, CNC & connected ideas
robodatech.
Arduino sample library

SPI Transfer 34

Exchange bytes with SPI peripherals and radio modules.

Open in compiler →

Source code and build tools are available in the protected platform workspace.

How it works

Send and receive one byte over SPI.

  1. Wire MOSI/MISO/SCK using the board-specific SPI pins.
  2. Wire chipSelect to the listed CS pin.
  3. Pull CS LOW for the transfer.
  4. Return CS HIGH after the byte exchange.

Connections

PinConnect toNote
D10SPI peripheral CS/SSSPI MOSI/MISO/SCK move to board-specific SPI pins.

Good ideas start here.

Free robotics lessons, CNC build notes and product updates. Confirm your email to join. Unsubscribe anytime.