Seesaw.GetEncoderDelta(Byte) Method

Definition

The change in encoder position since it was last read.

public int GetEncoderDelta (byte encoder = 0);
member this.GetEncoderDelta : byte -> int
Public Function GetEncoderDelta (Optional encoder As Byte = 0) As Integer

Parameters

encoder
Byte

Which encoder to use, defaults to 0.

Returns

The encoder change as a 32 bit signed integer.

Exceptions

The hardware does not support Adafruit SeeSaw encoder functionality.

Applies to