WLAN-Pi / wlanpi-hwtest

hwtest drives a suite of tests to determine diagnostic health for WLAN Pi Pro hardware.
Other
1 stars 0 forks source link

Add option for detecting presses on GPIO pins #55

Closed joshschmelzle closed 2 years ago

joshschmelzle commented 2 years ago

Add an option which only shows detected presses.

Example:

INFO     button_press:buttons.py:178 DETECTED PRESS ON GPIO PIN 5 (DOWN)
INFO     button_press:buttons.py:178 DETECTED PRESS ON GPIO PIN 6 (CENTER)
INFO     button_press:buttons.py:178 DETECTED PRESS ON GPIO PIN 6 (CENTER)
INFO     button_press:buttons.py:178 DETECTED PRESS ON GPIO PIN 5 (DOWN)
INFO     button_press:buttons.py:178 DETECTED PRESS ON GPIO PIN 6 (CENTER)
INFO     button_press:buttons.py:178 DETECTED PRESS ON GPIO PIN 5 (DOWN)
joshschmelzle commented 2 years ago

56 attempts to address this.