GpioPin.Read 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
讀取一般用途 I/O (GPIO) 針腳的目前值。
public virtual System.Device.Gpio.PinValue Read ();
abstract member Read : unit -> System.Device.Gpio.PinValue
override this.Read : unit -> System.Device.Gpio.PinValue
Public Overridable Function Read () As PinValue
傳回
GPIO 針腳的目前值。 如果針腳設定為輸出,則此值是寫入釘選的最後一個值。