pxt-calliope/docs/reference/pins/spi-write.md
Sam El-Husseini e3975e65e5 pxt-microbit Accessibility PR ()
* Accessibility changes
2017-09-07 13:42:08 -07:00

20 lines
289 B
Markdown

# SPI Write
Write to the SPI Slave and return the response.
```sig
pins.spiWrite(0);
```
## Parameters
* ``value``: value Data to be sent to the SPI slave
## Returns
* a [number](/types/number) Response from the SPI slave
## See also
[SPI](https://developer.mbed.org/handbook/SPI)