Update transmit.py print GPIO setup

master-b-p-s
Alan Johnston 3 weeks ago committed by GitHub
parent 61f71a12f4
commit 7df84939dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -49,8 +49,10 @@ def setup(pin, config):
GPIO.setmode(GPIO.BCM)
if config == "out":
GPIO.setup(27, GPIO.OUT)
print("GPIO.setup(27, GPIO.OUT")
else:
GPIO.setup(27, GPIO.IN)
print("GPIO.setup(27, GPIO.IN")
else:
print(f"Unknown GPIO setup configuration: {config}")

Loading…
Cancel
Save

Powered by TurnKey Linux.