NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool RechargeableBattery ( void  )
inline

Read battery type.

Return whether the NXT has a rechargeable battery installed or not.

Returns
Whether the battery is rechargeable or not. (false = no, true = yes)
Examples:
ex_RechargeableBattery.nxc.