pxt-calliope/docs/reference/pins/spi-frequency.md

20 lines
292 B
Markdown
Raw Normal View History

2017-05-26 02:19:25 +02:00
# 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)