Commit 6fb41640 authored by santiago duque's avatar santiago duque

added second button and logic to stop events as a test

parent 2dcec97c
import sys
import os
from signal import pause
from os.path import isfile, join
from gpiozero import Button
......@@ -38,7 +37,5 @@ btn2.when_pressed = lambda: btn_pressed(1)
btn_array = [btn1, btn2]
run = True
while run:
print ('running')
pause()
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