You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
380 B

#include <Arduino.h>
#include "settings.h"
void power_off() {
Serial.println(F("[power] Shutting down"));
// Serial.println(F("[power] Switching GPS module to standby"));
// power_gps_standby();
Serial.println(F("[power] Signalling TPL5111"));
digitalWrite(PIN_TPL_DONE, HIGH);
// Wait until we're turned off
while(true) delay(100);