balerion / ppg-instrument

development of a ppg flight instrument
GNU General Public License v3.0
0 stars 0 forks source link

Sleep-wakeup #7

Closed balerion closed 3 years ago

balerion commented 3 years ago

Needs a convenient software sleep/wakeup system, so no hardware battery switch is necessary. It could use something like an interrupt (there should be one interrupt pin still free) or a check every second or so:

LowPower.deepSleep(milliseconds);