AskSin++
|
#include <BatterySensor.h>
Public Member Functions | |
void | init (uint32_t period, AlarmClock &clock, uint16_t refvolt=VCC, uint8_t divider=2) |
virtual uint8_t | voltage () |
![]() | |
virtual void | trigger (AlarmClock &clock) |
uint8_t | current () const |
bool | critical () const |
void | critical (uint8_t value) |
bool | low () const |
void | low (uint8_t value) |
void | resetCurrent () |
void | init (uint32_t period, AlarmClock &clock) |
uint16_t | voltageHighRes () |
uint8_t | voltage () |
METER & | meter () |
void | setIdle () |
void | unsetIdle () |
![]() | |
Alarm (uint32_t t) | |
Alarm (uint32_t t, bool asynch) | |
void | set (uint32_t t) |
void | async (bool value) |
bool | async () const |
void | active (bool value) |
bool | active () const |
![]() | |
Link (Link *item) | |
Link * | select () const |
void | select (Link *item) |
void | append (Link &item) |
Link * | ending () const |
Link * | unlink () |
Link * | remove () |
void | detach () |
Link * | search (const Link *item) const |
void | remove (const Link &item) |
Additional Inherited Members | |
![]() | |
uint32_t | tick: 24 |
![]() | |
bool | m_Async: 4 |
bool | m_Active: 4 |
Measure on analog pin See https://github.com/rlogiacco/BatterySense for setup
Definition at line 263 of file BatterySensor.h.