master-b-gpio
Alan Johnston 1 month ago committed by GitHub
parent ad3a12e4a1
commit ea2a63d515
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -38,7 +38,7 @@ def setup(pin, config):
if config == "in" or config == "out" or config == "up" or config == "down": if config == "in" or config == "out" or config == "up" or config == "down":
command = "gpio -g mode " + str(powerPin) + " " + config command = "gpio -g mode " + str(powerPin) + " " + config
system(command) system(command)
else else:
print(f"Unknown GPIO setup configuration: {config}") print(f"Unknown GPIO setup configuration: {config}")
def blink(times): def blink(times):

Loading…
Cancel
Save

Powered by TurnKey Linux.