共用方式為


GpioPin.ValueChanged 事件

定義

發生于一般用途 I/O 的值 (GPIO) 針腳變更時,可能是因為將針腳設定為輸入時,或是當設定為輸出的針腳時,將值寫入到針腳時。

public virtual event System.Device.Gpio.PinChangeEventHandler ValueChanged;
member this.ValueChanged : System.Device.Gpio.PinChangeEventHandler 
Public Overridable Custom Event ValueChanged As PinChangeEventHandler 

事件類型

適用於