GrovePi.ReadCommand(GrovePiCommand, GrovePort) 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 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[]