Difference between revisions of "Gb.battery.level"

From Gamebuino Wiki
Jump to: navigation, search
(creation)
 
m (added power consumption in see also)
Line 16: Line 16:
  
 
== See also ==
 
== See also ==
 +
*[[Power consumption]]
 
*[[gb.battery.voltage]]
 
*[[gb.battery.voltage]]

Revision as of 2014-05-20T20:20:59


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