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
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for