ArduinoBoard.GetPinMode(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回指定針腳的目前指派
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
釘選要查詢的數位
傳回
來自已知模式清單的 實例 SupportedMode , (或未知模式的新實例)
備註
這與 相反 SetPinMode(Int32, SupportedMode) 。 如需使用限制,請參閱該處。