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

17 lines
170 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
2017-05-26 02:19:25 +02:00
* ``bits``,
* ``mode``,
## See also
2017-05-26 02:19:25 +02:00
[SPI](https://developer.mbed.org/handbook/SPI)