Skip to main content

Interface IRotaryEncoder

Defines a generic rotary encoder

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

Properties​

LastDirectionOfRotation​

Gets the last direction of rotation

View Source​
Declaration
RotationDirection? LastDirectionOfRotation { get; }

Events​

Rotated​

Raised when the encoder detects a rotation

View Source​
Declaration
event EventHandler<RotaryChangeResult> Rotated
Event Type​

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