added input_handler.py module to help with inputs
This commit is contained in:
@@ -68,4 +68,4 @@ class GPIOHandler:
|
||||
:param button: button to be detected
|
||||
:return: True if the button is has been pressed, False otherwise
|
||||
"""
|
||||
return GPIO.event_detected(button)
|
||||
return GPIO.event_detected(button)
|
Reference in New Issue
Block a user