Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buttons: resistor ladder / analog buttons support #2357

Merged
merged 11 commits into from
Sep 24, 2020
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Since November 2018, Max Prokhorov (**@mcspr**) is also actively working as a co
* Supports NetBIOS, LLMNR and Netbios (when built with Arduino Core >= 2.4.0) and SSDP (experimental)
* Switch management
* Support for **push buttons** and **toggle switches**
* Support for **digital** and [**analog**](https://en.wikipedia.org/wiki/Resistor_ladder) buttons
* Configurable **status on boot** per switch (always ON, always OFF, same as before or toggle)
* Support for **pulse mode** per switch (normally ON or normally OFF) with configurable time
* Support for **relay synchronization** (all equal, only one ON, one and only on ON)
Expand Down
4 changes: 0 additions & 4 deletions code/espurna/board.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ PROGMEM const char espurna_modules[] =
"BROKER "
#endif
#if BUTTON_SUPPORT
#if BUTTON_EVENTS_SOURCE == BUTTON_EVENTS_SOURCE_GENERIC
"BUTTON "
#else
"BUTTON_DUAL "
#endif
#endif
#if DEBUG_SERIAL_SUPPORT
"DEBUG_SERIAL "
Expand Down
Loading