gb.battery.level

From Gamebuino Wiki
Revision as of 2014-05-20T20:20:59 by Rodot (talk | contribs) (added power consumption in see also)
Jump to: navigation, search


Description

Gives the current level of the battery using the thresholds set using SETTINGS.HEX.

Syntax

gb.battery.level;

Parameters

none

Returns

byte: the current level of the battery

Example

See also