support for advanced SPI functions

This commit is contained in:
Peli de Halleux
2017-05-25 17:19:25 -07:00
parent fb5a8cf64d
commit d1c00ae3ab
9 changed files with 162 additions and 8 deletions

View File

@ -0,0 +1,19 @@
# 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)