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

18 lines
282 B
Markdown
Raw Normal View History

2017-05-26 02:19:25 +02:00
# SPI Pins
Sets the SPI MOSI, MISO and SCK pins
```sig
pins.spiPins(DigitalPin.P0, DigitalPin.P1, DigitalPin.P2);
```
## Parameters
2017-05-26 02:19:25 +02:00
* ``MOSI``, the ``MOSI`` pin
* ``MISO``, the ``MISO`` pin
* ``SCK``, the ``SCK`` pin
## See also
2017-05-26 02:19:25 +02:00
[SPI](https://developer.mbed.org/handbook/SPI)