Edit

Share via


GoPiGo.SetGroveState(GrovePort, Boolean) Method

Definition

Set grove output pin low or high

public void SetGroveState (Iot.Device.GoPiGo3.Models.GrovePort port, bool state);
member this.SetGroveState : Iot.Device.GoPiGo3.Models.GrovePort * bool -> unit
Public Sub SetGroveState (port As GrovePort, state As Boolean)

Parameters

port
GrovePort

The Grove Pin, can be any combination of Grove1Pin1, Grove1Pin2, Grove2Pin1 and/or Grove2Pin2

state
Boolean

The pin state. false for low or true for high.

Applies to