Debug output
This commit is contained in:
1 parent
74d0fe3bf1
commit
a0e4b19965
1 file changed
+1
-1
+1
-1
@@ -412,7 +412,7 @@ def setup_gpio():
|
|||||||
|
|
||||||
def handle_gpio(channel):
|
def handle_gpio(channel):
|
||||||
"""Interrupt handler for GPIO events"""
|
"""Interrupt handler for GPIO events"""
|
||||||
print("Channel " + channel + " triggered")
|
print("Channel " + str(channel) + " triggered")
|
||||||
display.trigger_event(gpio_pygame_event, channel)
|
display.trigger_event(gpio_pygame_event, channel)
|
||||||
|
|
||||||
def teardown(exit_code=0):
|
def teardown(exit_code=0):
|
||||||
|
|||||||
Reference in new issue
Block a user