Get battery power of RCX brick.

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

Syntax

C#
public bool GetBatteryPower(
	out int power
)

Parameters

power
Type: System..::.Int32 %
RCX brick's battery power in millivolts.

Return Value

Returns true if command was executed successfully or false otherwise.

See Also