共用方式為


Seesaw.EnableEncoderInterrupt(Byte) 方法

定義

啟用編碼器變更位置時引發的中斷。

public void EnableEncoderInterrupt (byte encoder = 0);
member this.EnableEncoderInterrupt : byte -> unit
Public Sub EnableEncoderInterrupt (Optional encoder As Byte = 0)

參數

encoder
Byte

要使用的編碼器預設為 0。

例外狀況

硬體不支援 Adafruit SeeSaw 編碼器功能。

適用於