GoPiGo.SpiRead16(SpiMessageType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Read a 16 bit value over SPI
public short SpiRead16 (Iot.Device.GoPiGo3.Models.SpiMessageType MessageType);
member this.SpiRead16 : Iot.Device.GoPiGo3.Models.SpiMessageType -> int16
Public Function SpiRead16 (MessageType As SpiMessageType) As Short
Parameters
- MessageType
- SpiMessageType
The SPI message type
Returns
Returns the value read