GrovePi.WriteCommand(GrovePiCommand, GrovePort, Byte, Byte) 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.
Write a GrovePi command
public void WriteCommand (Iot.Device.GrovePiDevice.Models.GrovePiCommand command, Iot.Device.GrovePiDevice.Models.GrovePort pin, byte param1, byte param2);
member this.WriteCommand : Iot.Device.GrovePiDevice.Models.GrovePiCommand * Iot.Device.GrovePiDevice.Models.GrovePort * byte * byte -> unit
Public Sub WriteCommand (command As GrovePiCommand, pin As GrovePort, param1 As Byte, param2 As Byte)
Parameters
- command
- GrovePiCommand
The GrovePi command
- pin
- GrovePort
The pin to write the command
- param1
- Byte
First parameter
- param2
- Byte
Second parameter