gb.battery.level

From Gamebuino Wiki
Revision as of 2014-05-20T19:56:01 by Rodot (talk | contribs) (creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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