Seesaw.EnableEncoderInterrupt(Byte) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
啟用編碼器變更位置時引發的中斷。
public void EnableEncoderInterrupt (byte encoder = 0);
member this.EnableEncoderInterrupt : byte -> unit
Public Sub EnableEncoderInterrupt (Optional encoder As Byte = 0)
參數
- encoder
- Byte
要使用的編碼器預設為 0。
例外狀況
硬體不支援 Adafruit SeeSaw 編碼器功能。