Browse Source

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

master
Mike C 6 years ago
parent
commit
e430aa8415
  1. 1
      TODO.md
  2. 2
      src/src.ino

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

2
src/src.ino

@ -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

Loading…
Cancel
Save