Edit

Share via


GrovePi.ReadCommand(GrovePiCommand, GrovePort) Method

Definition

Read data from GrovePi

public byte[] ReadCommand (Iot.Device.GrovePiDevice.Models.GrovePiCommand command, Iot.Device.GrovePiDevice.Models.GrovePort pin);
public byte[]? ReadCommand (Iot.Device.GrovePiDevice.Models.GrovePiCommand command, Iot.Device.GrovePiDevice.Models.GrovePort pin);
member this.ReadCommand : Iot.Device.GrovePiDevice.Models.GrovePiCommand * Iot.Device.GrovePiDevice.Models.GrovePort -> byte[]
Public Function ReadCommand (command As GrovePiCommand, pin As GrovePort) As Byte()

Parameters

command
GrovePiCommand

The GrovePi command

pin
GrovePort

The pin to read

Returns

Byte[]

Applies to