Skip to content

Commit

Permalink
Change GPIO input to polling (#484)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
technyon authored Oct 13, 2024
1 parent 3f0ef34 commit fed5f95
Show file tree
Hide file tree
Showing 12 changed files with 166 additions and 582 deletions.
3 changes: 0 additions & 3 deletions clion/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
58 changes: 0 additions & 58 deletions lib/gpio2go/CMakeLists.txt

This file was deleted.

21 changes: 0 additions & 21 deletions lib/gpio2go/LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion lib/gpio2go/README.md

This file was deleted.

38 changes: 0 additions & 38 deletions lib/gpio2go/main.cpp

This file was deleted.

242 changes: 0 additions & 242 deletions lib/gpio2go/src/Gpio2Go.cpp

This file was deleted.

Loading

0 comments on commit fed5f95

Please sign in to comment.