# SPI Example This example shows the use of the `Spi` component to create an SPI bus, attach a device, and perform a simple addressed read transaction. ## How to use example The example is intended primarily as a compile-time reference for the `Spi` API. Update the GPIO assignments to match your hardware before flashing; the address phase is driven on MOSI and the response is read on MISO.
To create a project from this example, run:
idf.py create-project-from-example "espp/spi=1.1.0:example"