ServoSetSpeed Method

Sets the speed with which the servo moves to a specified position. The actual speed and range of speed will depend on the type of servo used. By default the servo is set to move at maximum speed.

Definition

Namespace: RoboTx.Api
Assembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
C#
public void SetSpeed(
	int speedStep
)

Parameters

speedStep  Int32
A value starting from 1 (slowest) to 50 (fastest) that correlates with servo speed.

Exceptions

ArgumentOutOfRangeExceptionspeedStep is out of range.
IOExceptionSerial port is in error state or not open.

See Also