added input_handler.py module to help with inputs

This commit is contained in:
2023-05-11 14:01:02 -04:00
parent da5bacf950
commit 7b8898b77b
3 changed files with 72 additions and 1 deletions

View File

@@ -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)