Retrieve a servo configuration.

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 ServoConfiguration GetServoConfiguration(
	byte iicAddress,
	ServoIdType servoId
)
Visual Basic (Declaration)
Public Shared Function GetServoConfiguration ( _
	iicAddress As Byte, _
	servoId As ServoIdType _
) As ServoConfiguration
Visual C++
public:
static ServoConfiguration^ GetServoConfiguration(
	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 servo configuration to retrieve.

Return Value

The configuration for the specified servo.

Exceptions

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

See Also