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: Robo-Tx.Api (in Robo-Tx.Api.dll) Version: 2.0.0+58b061ffe902bd370f7f9a4c58103d8e1f566889
C#
public void SetSpeed(
	int speed
)

Parameters

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

Exceptions

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

See Also