Skip to main content

Interface IAngularServo

Angular servo abstraction

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

Properties

Angle

The current angle

View Source
Declaration
Angle? Angle { get; }

Methods

RotateTo(Angle, bool)

Rotate to an angle

View Source
Declaration
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