Commit 3499c61b authored by santiago duque's avatar santiago duque

added second button and logic to stop events as a test

parent 6fb41640
......@@ -28,7 +28,7 @@ def btn_pressed(index):
btn1 = Button(21)
btn1.when_pressed = lambda: btn_pressed(0)
#btn1.when_held = None
#btn1.when_released = lambda: resetBtn(0)
btn1.when_released = lambda: print('was relasedasd')
btn2 = Button(13)
btn2.when_pressed = lambda: btn_pressed(1)
......
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