Update transmit.py don't print for gpio operations

pull/444/head
Alan Johnston 1 month ago committed by GitHub
parent e1a401ca40
commit 08a8072176
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -15,7 +15,7 @@ import subprocess
def output(pin, value):
command = "gpio -g write " + str(pin) + " " + str(value)
system(command)
print(command)
### print(command)
def uptime_seconds():
try:
@ -54,7 +54,7 @@ def setup(pin, config):
if config == "in" or config == "out" or config == "up" or config == "down":
command = "gpio -g mode " + str(pin) + " " + config
system(command)
print(command)
### print(command)
else:
print(f"Unknown gpio setup configuration: {config}")

Loading…
Cancel
Save

Powered by TurnKey Linux.