Change GPIO input to polling (#484)

* add code to attach timer isr

* call timer ISR every 100 ms

* implement gpio input logic

* do not attach ISR for general input PINs

* add debounce code

* execute lock actions on GPIO input

* only register timer ISR if input PINs are configured

* remove gpio2go lib
This commit is contained in:
Jan-Ole Schümann
2024-10-13 23:01:04 +07:00
committed by GitHub
parent 3f0ef34c9e
commit fed5f95490
12 changed files with 166 additions and 582 deletions

View File

@@ -47,9 +47,6 @@ set(SRCFILES
../lib/nuki_ble/src/NukiUtils.cpp
../lib/nuki_ble/src/NukiLockUtils.cpp
../lib/nuki_ble/src/NukiOpenerUtils.cpp
../lib/gpio2go/src/Gpio2Go.cpp
../lib/gpio2go/src/InterruptMode.h
../lib/gpio2go/src/PinMode.h
../lib/BleScanner/src/BleInterfaces.h
../lib/BleScanner/src/BleScanner.cpp
../lib/MqttLogger/src/MqttLogger.cpp