Releases: ArminJo/EasyButtonAtInt01
Releases · ArminJo/EasyButtonAtInt01
Added NO_INITIALIZE_IN_CONSTRUCTOR macro to enable late initializing
- Added
NO_INITIALIZE_IN_CONSTRUCTOR
macro to enable late initializing. ButtonStateIsActive
is now private, since it is not reliable after bouncing. UsereadButtonState()
orreadDebouncedButtonState()
instead.
Avoid mistakenly double press detection after boot.
v3.3.1 V3.3.1 - Avoid mistakenly double press detection after boot.
Renamed EasyButtonAtInt01.cpp.h to EasyButtonAtInt01.hpp
You must change
#include "EasyButtonAtInt01.cpp.h"
to
#include "EasyButtonAtInt01.hpp"
Second button now possible on each ATmega328 pin
3.2.0 Allow button1 on pin 8 to 13 and A0 to A5 for ATmega328.
2 sets of constructors
- 2 sets of constructors, one for only one button used and one for the second button if two buttons used.
- Map pin numbers for Digispark pro boards, for use with with digispark library.
Added button release handler
- Added button release handler and adapted examples.
- Revoke change for "only one true result per press for checkForLongPressBlocking()". It is superseded by button release handler.
- Support buttons which are active high by defining
BUTTON_IS_ACTIVE_HIGH
. - Improved detection of maximum bouncing period used in DebounceTest.
Long and double press revisited
- Avoid 1 ms delay for checkForLongPressBlocking() if button is not pressed.
- Only one true result per press for checkForLongPressBlocking().
Ported to ATtinyX5 and ATiny167
- Ported to ATtinyX5 and ATiny167.
- Support also PinChangeInterrupt for button 1 on Pin PA0 to PA7 for ATtiniy87/167.
- Long button press detection support.
- Analyzes maximum debouncing period.
- Double button press detection support.
- Very short button press handling.
- Renamed to EasyButtonAtInt01.cpp.h
First version as Arduino library
v1.0.0 Added attachInterrupt() code