mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-01-22 16:50:16 +01:00
22 lines
479 B
C++
22 lines
479 B
C++
#ifndef BATTERY_UTILS_H_
|
|
#define BATTERY_UTILS_H_
|
|
|
|
#include <Arduino.h>
|
|
|
|
|
|
namespace BATTERY_Utils {
|
|
|
|
void adcCalibration();
|
|
void adcCalibrationCheck();
|
|
void setup();
|
|
float checkInternalVoltage();
|
|
float checkExternalVoltage();
|
|
void checkIfShouldSleep(); // ????
|
|
void startupBatteryHealth();
|
|
|
|
String generateEncodedTelemetryBytes(float value, bool firstBytes, byte voltageType);
|
|
String generateEncodedTelemetry();
|
|
|
|
}
|
|
|
|
#endif |