Get battery power of NXT brick.

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

Syntax

C#
public bool GetBatteryPower(
	out int power
)

Parameters

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

Return Value

Returns true if command was executed successfully or false otherwise.

See Also