Edit

Share via


GoPiGo.SpiRead16(SpiMessageType) Method

Definition

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

Applies to