libwallaby  v23
The wallaby standard library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
battery.hpp
Go to the documentation of this file.
1 /*
2  * battery.hpp
3  *
4  * Created on: Nov 2, 2015
5  * Author: Joshua Southerland
6  */
7 
8 #ifndef INCLUDE_WALLABY_BATTERY_HPP_
9 #define INCLUDE_WALLABY_BATTERY_HPP_
10 
11 
12 class Battery
13 {
14 public:
15  static bool isCharging();
16  static float powerLevel(unsigned int battery_type = 0);
17  static unsigned short rawPowerADC();
18 };
19 
20 #endif /* INCLUDE_WALLABY_BATTERY_HPP_ */
Definition: battery.hpp:12
static float powerLevel(unsigned int battery_type=0)
static bool isCharging()
static unsigned short rawPowerADC()