Finalized sleep mode (turning on debug can cause glitches with sleep -- use debug with "Always On" set
This commit is contained in:
parent
cc764baf9d
commit
e430aa8415
1
TODO.md
1
TODO.md
|
@ -1,5 +1,4 @@
|
|||
* Implement flashing lights if battery level is too low (use fuelgauge.isAlerting() and setAlertThreshold())
|
||||
* Need to implement "always on toggle"
|
||||
* Need to implement PIR distance sensor to verify door of safe closed
|
||||
* Need to add support for Adafruit Trinket Pro
|
||||
* Add note about adjusting values for distance
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
// Various defines / pins / etc
|
||||
#define DEBUG false
|
||||
#define INTERACTIVE_DEBUG false
|
||||
#define USE_SLEEP false
|
||||
#define USE_SLEEP true
|
||||
#define SLEEP_INTERVAL 1000 // miliseconds
|
||||
#define ALERT_LEVEL 15 // battery alert level (%)
|
||||
#define BUTTON_CAP_TOGGLE 9
|
||||
|
|
Reference in a new issue