3 changed files with 38 additions and 2 deletions
@ -0,0 +1,19 @@
@@ -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 @@
@@ -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