pxt-calliope/docs/reference/pins/spi-pins.md
Sam El-Husseini e3975e65e5 pxt-microbit Accessibility PR ()
* Accessibility changes
2017-09-07 13:42:08 -07:00

18 lines
282 B
Markdown

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