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