1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #ifndef POWER_H
- #define POWER_H
- #include "types.h"
- class Power {
- public:
- static void check();
- static void power_on();
- static void power_off();
- private:
- static millis_t lastPowerOn;
- static bool is_power_needed();
- };
- extern Power powerManager;
- #endif
|