Edit

Share via


GoPiGo.SetGroveType(GrovePort, GroveSensorType) Method

Definition

Set grove type

public void SetGroveType (Iot.Device.GoPiGo3.Models.GrovePort port, Iot.Device.GoPiGo3.Models.GroveSensorType type);
member this.SetGroveType : Iot.Device.GoPiGo3.Models.GrovePort * Iot.Device.GoPiGo3.Models.GroveSensorType -> unit
Public Sub SetGroveType (port As GrovePort, type As GroveSensorType)

Parameters

port
GrovePort

The grove port(s). Grove1 and/or Grove2

type
GroveSensorType

The grove device type, refer to GroveSensorType

Applies to