Commit 5407b998 authored by plaasio's avatar plaasio 👷🏽

Update btns.py

parent fde711bf
......@@ -21,6 +21,8 @@ def main():
if GPIO.input(18) == GPIO.HIGH:
print("yes")
break
return
#message = input("Press enter to quit\n\n") # Run until someone presses enter
......@@ -29,6 +31,5 @@ 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