Skip to main content

Interface IAngularServo

Angular servo abstraction

Assembly: ServoCore.dll
View Source
public interface IAngularServo : IServo

Properties

Angle

The current angle

View Source
Angle? Angle { get; }

Methods

RotateTo(Angle, bool)

Rotate to an angle

View Source
Task RotateTo(Angle angle, bool stopAfterMotion = false)
Returns

System.Threading.Tasks.Task

Parameters
TypeNameDescription
Meadow.Units.AngleangleThe angle
System.BooleanstopAfterMotionTrue to stop the servo after motion