Update rpitx.py turn of txc off forcing

beta-v1.3.2-battery-saver
Alan Johnston 2 years ago committed by GitHub
parent 650c467413
commit dcc3de2616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save

Powered by TurnKey Linux.