Commit 97b07b0c authored by plaasio's avatar plaasio 👷🏽

Update btns.py

parent 05ab70c8
......@@ -11,7 +11,6 @@ def main():
while True: # Run forever
if GPIO.input(13) == GPIO.HIGH:
print("no")
return "no"
break
if GPIO.input(15) == GPIO.HIGH:
print("down")
......@@ -30,5 +29,6 @@ if __name__ == '__main__':
try:
main()
return
finally:
GPIO.cleanup()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment