Flying Silicon Sensor
|
Manage power supply status of the device. More...
Go to the source code of this file.
Namespaces | |
namespace | PwrSupply |
Functions | |
void | PwrSupply::reset (void) |
int | PwrSupply::isUsbConnected (void) |
int | PwrSupply::isBatPowered (void) |
int | PwrSupply::isBatDrained (void) |
int | PwrSupply::isUsbOnly (void) |
int | PwrSupply::isCharging (void) |
float | PwrSupply::getBatPct (void) |
float | PwrSupply::getBatVolt (void) |
void | PwrSupply::updateState (void) |
Manage power supply status of the device.
Arduino code for Flying Silicon Airspeed/Vario Probe and TotalVario Android app.
For more information refer to: https://flyingsilicon.blogspot.com/
https://totalvario.blogspot.com/
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License http://www.gnu.org/licenses/ for more details.
Definition in file pwrSupply.h.