ServoSetPosition Method
Sets the position angle of a specified servo motor.
Namespace: RoboTx.ApiAssembly: Robo-Tx.Api (in Robo-Tx.Api.dll) Version: 2.0.0+58b061ffe902bd370f7f9a4c58103d8e1f566889
public void SetPosition(
float angle
)
Public Sub SetPosition (
angle As Single
)
member SetPosition :
angle : float32 -> unit
Parameters
- angle Single
- The position angle to rotate to. Must be between 0 and maximum angle range set by method SetRange().
The angle value is constrained to the limits specified using SetAngleLimits(Int32, Int32, Servo)