Skip to content

Commit b9179dd

Browse files
committed
Release v1.2.0
_new features:_ Rotary encoder emulated with two push buttons _bugfixes:_ rework gpio's interrupts configuration. Using percise interrupt configuration for gpio level instead of edge cross. This way it works more reliable for noisy buttons and makes button state transition error-prone.
1 parent 8fb76f9 commit b9179dd

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## release v1.2.0
4+
_new features:_
5+
Rotary encoder emulated with two push buttons
6+
_bugfixes:_
7+
rework gpio's interrupts configuration. Using percise interrupt configuration for gpio level instead of edge cross.
8+
This way it works more reliable for noisy buttons and makes button state transition error-prone.
9+
310
## release v1.1.0
411
_new features:_
512
Implement AsyncEventButton class

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ This project has started as a fork of [rwmingis/InterruptButton](https://github.
1212
* GPIO-based momentary buttons with/without debouncing
1313
* Interrupts + HW timers are used to register button press/release and generate events
1414
* gpio's ISRs and event processing are _decoupled_ from each other, i.e. it is possible to handle multiple gpios from a single callback-handler
15+
* this library does NOT have any Arduino `loop()` hooks for polling or updating button states, calculating timers, etc...
1516
* this library does NOT call any user callback code in ISRs, event processing are handled in separate RTOS thread depending on Policy
1617
* button event propagation and handling via [ESP Event loop](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/system/esp_event.html)
1718
* selectable button behavior
1819
- defaults are generating `press`/`release` events
1920
- `longPress`, `longRelease` events on button hold
20-
- `AutoRepeat` events while button is kept on hold
21+
- `AutoRepeat` events with counter while button is kept on hold
2122
- `Click`, `MultiClick` events for any number of consecutive short clicks counting
2223
* policy-based class templates to easy integrate user-defined event handler policies
2324
* an easy-to-use all-in-one [Async Event Button](/examples/00_AsyncEventButton) class with callbacks

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "ESPAsyncButton",
3-
"description": "Event-driven asynchronous button toolkit for ESP32",
3+
"description": "Event-driven asynchronous button toolkit for ESP32. Button control with patterns - short/long press, clicks, autorepeat, multiple-clicks. Non-blocking asynchronous architecture with queues and multi-leveled callbacks. Pseudo-encoder, multi-button actions, etc...",
44
"frameworks": "arduino",
55
"platforms": ["espressif32"],
66
"url": "https://github.com/vortigont/ESPAsyncButton",
7-
"version": "1.1.0",
7+
"version": "1.2.0",
88
"keywords": "input, button, event",
99
"authors": [
1010
{

library.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name=ESPAsyncButton
2-
version=1.1.0
2+
version=1.2.0
33
author=Emil Muratov
44
maintainer=Emil Muratov
55
sentence=Event-driven asynchronous button toolkit for ESP32
6-
paragraph=It generate events for various button press patterns, like short/long press, clicks, autorepeat, multiple clicks
6+
paragraph=Event-based button control with patterns - short/long press, clicks, autorepeat, multiple-clicks. Non-blocking asynchronous architecture with queues and multi-leveled callbacks. Pseudo-encoder, multi-button actions, etc...
77
category=Signal Input/Output
88
url=https://github.com/vortigont/ESPAsyncButton
99
architectures=esp32
10-
includes=espasyncbutton.hpp
10+
includes=espasyncbutton.hpp

0 commit comments

Comments
 (0)