Sdílet prostřednictvím


Seesaw.SetEncoderPosition(Int32, Byte) Metoda

Definice

Nastavte aktuální pozici kodéru.

public void SetEncoderPosition (int position, byte encoder = 0);
member this.SetEncoderPosition : int * byte -> unit
Public Sub SetEncoderPosition (position As Integer, Optional encoder As Byte = 0)

Parametry

position
Int32

Pozice kodéru.

encoder
Byte

Který kodér se má použít, výchozí hodnota je 0.

Výjimky

Hardware nepodporuje funkci kodéru Adafruit SeeSaw.

Platí pro