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

17 lines
172 B
Markdown
Raw Normal View History

2017-05-26 02:19:25 +02:00
# SPI Format
Sets the SPI format
```sig
pins.spiFormat(8, 3);
```
### Parameters
* ``bits``,
* ``mode``,
### See also
[SPI](https://developer.mbed.org/handbook/SPI)