ServoMotor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a rotary actuator or linear actuator that allows for precise control of angular or linear position.
public sealed class ServoMotor : IDisposable
type ServoMotor = class
interface IDisposable
Public NotInheritable Class ServoMotor
Implements IDisposable
- Inheritance
-
ServoMotor
- Implements
Constructors
ServoMotor(PwmChannel, Double, Double, Double) |
Initializes a new instance of the ServoMotor class. |
Methods
Calibrate(Double, Double, Double) |
Sets calibration parameters |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Start() |
Starts the servo motor. |
Stop() |
Stops the servo motor. |
WriteAngle(Double) |
Writes an angle to the servo motor. |
WritePulseWidth(Int32) |
Writes a pulse width to the servo motor. |