GoPiGo.SetGroveState(GrovePort, Boolean) 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.
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.