2017-08-01 21:29:57 +00:00
|
|
|
#ifndef __Shared
|
|
|
|
#define __Shared
|
|
|
|
|
2017-08-02 04:23:18 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2017-08-02 14:17:23 +00:00
|
|
|
typedef enum { On, ManualOff, BatteryLow } PowerState;
|
|
|
|
|
|
|
|
|
|
|
|
extern PowerState powerState;
|
2017-08-02 04:23:18 +00:00
|
|
|
extern uint16_t vcc;
|
|
|
|
extern uint16_t counter;
|
2017-08-01 21:29:57 +00:00
|
|
|
|
|
|
|
#endif
|