2016-08-11 08:26:58 +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
|
|
|
|
|
2017-03-16 15:57:41 +01:00
|
|
|
* a [number](/types/number) Response from the SPI slave
|
2016-08-11 08:26:58 +02:00
|
|
|
|
|
|
|
### See also
|
|
|
|
|
|
|
|
[SPI](https://developer.mbed.org/handbook/SPI)
|