Edit

Share via


GrovePi.WriteCommand(GrovePiCommand, GrovePort, Byte, Byte) Method

Definition

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

Applies to