Next up, we need to test it to see how long it'll last on a battery.master
parent
6a0b3b8a48
commit
79adeef737
@ -0,0 +1,19 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
#include "settings.h"
|
||||
|
||||
|
||||
void power_gps_wakeup() {
|
||||
Serial.println("Warn: GPS wakeup isn't implemented yet.");
|
||||
}
|
||||
|
||||
void power_gps_standby() {
|
||||
Serial.println("Warn: GPS standby isn't implemented yet.");
|
||||
}
|
||||
|
||||
void power_off() {
|
||||
power_gps_standby();
|
||||
|
||||
pinMode(PIN_TPL_DONE, OUTPUT);
|
||||
digitalWrite(PIN_TPL_DONE, HIGH);
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
|
||||
/**
|
||||
* Wakes the GPS module up from standby.
|
||||
*/
|
||||
void power_gps_wakeup();
|
||||
/**
|
||||
* Puts the GPS module into standby.
|
||||
*/
|
||||
void power_gps_standby();
|
||||
|
||||
/**
|
||||
* Signals that our work is complete and that we can turn off now to the
|
||||
* TPL5111.
|
||||
*/
|
||||
void power_off();
|
Loading…
Reference in new issue