Stop specified servo.

Namespace:  AForge.Robotics.TeRK
Assembly:  AForge.Robotics.TeRK (in AForge.Robotics.TeRK.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public int StopServo(
	int servo
)

Parameters

servo
Type: System..::.Int32
Servo to stop, [0, Count).

Return Value

Returns current position of the specified servo.

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeExceptionInvalid servo is specified.
AForge..::.NotConnectedExceptionNo connection to Qwerk or its service.
AForge..::.ConnectionLostExceptionConnestion to Qwerk is lost.

See Also