ArduinoBoard.GetPinMode(Int32) Method
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.
Returns the current assignment of the given pin
C#
public Iot.Device.Arduino.SupportedMode GetPinMode (int pinNumber);
member this.GetPinMode : int -> Iot.Device.Arduino.SupportedMode
Public Function GetPinMode (pinNumber As Integer) As SupportedMode
- pinNumber
- Int32
Pin number to query
An instance of SupportedMode from the list of known modes (or a new instance for an unknown mode)
Thi is the opposite of SetPinMode(Int32, SupportedMode). See there for usage limitations.
Tuote | Versiot |
---|---|
.NET IoT Libraries | 2.0.0, 2.1.0, 2.2.0 |