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

302 B

SPI Write

Write to the SPI Slave and return the response.

pins.spiWrite(0);

Parameters

  • value: value Data to be sent to the SPI slave

Returns

  • a number Response from the SPI slave

See also

SPI