Stops a servo by setting the current position to the desired position.

Namespace:  Bespoke.Robotics.BrainStem
Assembly:  Bespoke.Robotics.BrainStem (in Bespoke.Robotics.BrainStem.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public static void StopServo(
	byte iicAddress,
	ServoIdType servoId
)
Visual Basic (Declaration)
Public Shared Sub StopServo ( _
	iicAddress As Byte, _
	servoId As ServoIdType _
)
Visual C++
public:
static void StopServo(
	unsigned char iicAddress, 
	ServoIdType servoId
)

Parameters

iicAddress
Type: System..::.Byte
The address of the IIC module referenced by the packet.
servoId
Type: Bespoke.Robotics.BrainStem..::.ServoIdType
The ID of the servo to send the command to.

Exceptions

ExceptionCondition
Bespoke.Robotics.BrainStem.Exceptions..::.CommandExceptionThrown if there's an error processing the command.

See Also