Skip to main content

Interface IRotaryEncoder

Defines a generic rotary encoder

Assembly: Meadow.Contracts.dll
View Source
public interface IRotaryEncoder

Properties

LastDirectionOfRotation

Gets the last direction of rotation

View Source
RotationDirection? LastDirectionOfRotation { get; }

Events

Rotated

Raised when the encoder detects a rotation

View Source
event EventHandler<RotaryChangeResult> Rotated
Event Type

System.EventHandler<Meadow.Peripherals.Sensors.Rotary.RotaryChangeResult>