Finalized sleep mode (turning on debug can cause glitches with sleep -- use debug with "Always On" set

This commit is contained in:
Mike C 2015-08-04 23:44:27 -04:00
parent cc764baf9d
commit e430aa8415
2 changed files with 1 additions and 2 deletions

View file

@ -1,5 +1,4 @@
* Implement flashing lights if battery level is too low (use fuelgauge.isAlerting() and setAlertThreshold()) * 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 implement PIR distance sensor to verify door of safe closed
* Need to add support for Adafruit Trinket Pro * Need to add support for Adafruit Trinket Pro
* Add note about adjusting values for distance * Add note about adjusting values for distance

View file

@ -11,7 +11,7 @@
// Various defines / pins / etc // Various defines / pins / etc
#define DEBUG false #define DEBUG false
#define INTERACTIVE_DEBUG false #define INTERACTIVE_DEBUG false
#define USE_SLEEP false #define USE_SLEEP true
#define SLEEP_INTERVAL 1000 // miliseconds #define SLEEP_INTERVAL 1000 // miliseconds
#define ALERT_LEVEL 15 // battery alert level (%) #define ALERT_LEVEL 15 // battery alert level (%)
#define BUTTON_CAP_TOGGLE 9 #define BUTTON_CAP_TOGGLE 9