LoRa_APRS_iGate/lib/PowerManagement/power_management.h
Peter Buchegger 3cab03ab7e fix typo
2023-02-18 11:47:24 +01:00

26 lines
367 B
C++

#ifndef POWER_MANAGEMENT_H_
#define POWER_MANAGEMENT_H_
#include <Arduino.h>
#include <axp20x.h>
class PowerManagement {
public:
PowerManagement();
bool begin(TwoWire &port);
void activateLoRa();
void deactivateLoRa();
void activateGPS();
void deactivateGPS();
void activateOLED();
void deactivateOLED();
private:
AXP20X_Class axp;
};
#endif