LoRa_APRS_iGate/include/battery_utils.h

37 lines
1 KiB
C
Raw Permalink Normal View History

2025-07-15 16:28:23 -04:00
/* Copyright (C) 2025 Ricardo Guzman - CA2RXU
*
* This file is part of LoRa APRS iGate.
*
* LoRa APRS iGate 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.
*
* LoRa APRS iGate 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 for more details.
*
* You should have received a copy of the GNU General Public License
* along with LoRa APRS iGate. If not, see <https://www.gnu.org/licenses/>.
*/
2023-07-06 00:14:26 -04:00
#ifndef BATTERY_UTILS_H_
#define BATTERY_UTILS_H_
#include <Arduino.h>
2024-02-25 10:53:16 -03:00
2023-07-06 00:14:26 -04:00
namespace BATTERY_Utils {
2024-07-08 23:02:45 -04:00
void adcCalibration();
void adcCalibrationCheck();
2025-05-18 08:44:46 -04:00
2024-07-08 23:02:45 -04:00
void setup();
2024-05-24 13:05:28 -04:00
float checkInternalVoltage();
float checkExternalVoltage();
2024-05-24 14:24:40 -04:00
void startupBatteryHealth();
2023-07-06 00:14:26 -04:00
}
#endif