HomeKit Library for the Arduino-ESP32
Go to file
Gregg 77c48dcf46 Updated SpanButton to use Utils::PushButton
SpanButton now instantiates PushButton instead of keeping track of its own triggering logic.  This means that SpanButton longPress() is triggered by holding down the button for longTime WITHOUT the need to release.  This is a desired change.

Next:  Must update Example 15 to state that SpanButtons trigger a long press withouth needing to be released.

To do:  Consider adding a "repeating mode" for longPress in which the SpanButton re-triggers every longTime while button continues to be pressed.  Best way to implement is probably by creating a PushButton::extend() method.
2020-10-03 10:45:01 -05:00
examples Updated SpanButton to use Utils::PushButton 2020-10-03 10:45:01 -05:00
src Updated SpanButton to use Utils::PushButton 2020-10-03 10:45:01 -05:00
.development Initial commit 2020-07-18 21:47:39 -05:00
.gitattributes Initial commit 2020-07-18 21:47:39 -05:00
README.md Initial commit 2020-07-18 21:47:39 -05:00
library.properties Initial commit 2020-07-18 21:47:39 -05:00

README.md

HomeSpan

HomeKit for the Arduino-ESP32