This example uses two features:
exclusive
- use the spi with a singleSPI device
for the exclusive access to the spi busshared
- use the spi bus shared between multipleSPI devices
(viaRefCell
)
cargo run --release -F exclusive
or
cargo run --release -F shared