|
|
|
@ -19,7 +19,7 @@ def battery_saver_check():
|
|
|
|
print("battery saver activated")
|
|
|
|
print("battery saver activated")
|
|
|
|
except:
|
|
|
|
except:
|
|
|
|
print("not activated")
|
|
|
|
print("not activated")
|
|
|
|
txc = True
|
|
|
|
# txc = True
|
|
|
|
|
|
|
|
|
|
|
|
def increment_mode():
|
|
|
|
def increment_mode():
|
|
|
|
print("increment mode")
|
|
|
|
print("increment mode")
|
|
|
|
@ -204,7 +204,7 @@ if GPIO.input(txc_pin) == False:
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
print("TXC not present")
|
|
|
|
print("TXC not present")
|
|
|
|
|
|
|
|
|
|
|
|
txc = False # forcing it off
|
|
|
|
# txc = False # forcing it off
|
|
|
|
output(txLed, txLedOn)
|
|
|
|
output(txLed, txLedOn)
|
|
|
|
sleep(1)
|
|
|
|
sleep(1)
|
|
|
|
output(txLed, txLedOff)
|
|
|
|
output(txLed, txLedOff)
|
|
|
|
|