20 lines
289 B
Markdown
Raw Normal View History

2016-08-10 23:26:58 -07:00
# SPI Write
Write to the SPI Slave and return the response.
```sig
pins.spiWrite(0);
```
## Parameters
2016-08-10 23:26:58 -07:00
* ``value``: value Data to be sent to the SPI slave
## Returns
2016-08-10 23:26:58 -07:00
2017-03-16 07:57:41 -07:00
* a [number](/types/number) Response from the SPI slave
2016-08-10 23:26:58 -07:00
## See also
2016-08-10 23:26:58 -07:00
[SPI](https://developer.mbed.org/handbook/SPI)