ServoMotor.Calibrate(Double, Double, Double) Method
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.
Sets calibration parameters
public void Calibrate (double maximumAngle, double minimumPulseWidthMicroseconds, double maximumPulseWidthMicroseconds);
member this.Calibrate : double * double * double -> unit
Public Sub Calibrate (maximumAngle As Double, minimumPulseWidthMicroseconds As Double, maximumPulseWidthMicroseconds As Double)
Parameters
- maximumAngle
- Double
The maximum angle the servo motor can move represented as a value between 0 and 360.
- minimumPulseWidthMicroseconds
- Double
The minimum pulse width, in microseconds, that represent an angle for 0 degrees.
- maximumPulseWidthMicroseconds
- Double
The maxnimum pulse width, in microseconds, that represent an angle for maximum angle.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for