HomeSpan/examples/Tutorials/D-Expert/15-RealPushButtons
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
..
15-RealPushButtons.ino Updated SpanButton to use Utils::PushButton 2020-10-03 10:45:01 -05:00
DEV_Identify.h Modified Service::update() to return boolean instead of StatusCode 2020-10-01 21:41:26 -05:00
DEV_LED.h Modified Service::update() to return boolean instead of StatusCode 2020-10-01 21:41:26 -05:00