GoPiGo.SetGroveType(GrovePort, GroveSensorType) 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 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