GrovePi.PinMode(GrovePort, PinMode) 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.
Setup the pin mode, equivalent of pinMod on Arduino
public void PinMode (Iot.Device.GrovePiDevice.Models.GrovePort pin, System.Device.Gpio.PinMode mode);
member this.PinMode : Iot.Device.GrovePiDevice.Models.GrovePort * System.Device.Gpio.PinMode -> unit
Public Sub PinMode (pin As GrovePort, mode As PinMode)
Parameters
- pin
- GrovePort
The GroovePi pin to setup
- mode
- PinMode
THe mode to setup Intput or Output
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