Skip to content

Releases: ArminJo/EasyButtonAtInt01

Added NO_INITIALIZE_IN_CONSTRUCTOR macro to enable late initializing

20 Oct 08:12
Compare
Choose a tag to compare
  • Added NO_INITIALIZE_IN_CONSTRUCTOR macro to enable late initializing.
  • ButtonStateIsActive is now private, since it is not reliable after bouncing. Use readButtonState() or readDebouncedButtonState() instead.

Avoid mistakenly double press detection after boot.

18 Feb 14:22
Compare
Choose a tag to compare
v3.3.1

V3.3.1 - Avoid mistakenly double press detection after boot.

Renamed EasyButtonAtInt01.cpp.h to EasyButtonAtInt01.hpp

15 Sep 08:21
Compare
Choose a tag to compare

You must change
#include "EasyButtonAtInt01.cpp.h"
to
#include "EasyButtonAtInt01.hpp"

Second button now possible on each ATmega328 pin

04 Jan 20:03
Compare
Choose a tag to compare
3.2.0

Allow button1 on pin 8 to 13 and A0 to A5 for ATmega328.

2 sets of constructors

23 Jun 21:32
Compare
Choose a tag to compare
  • 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

08 Jun 22:36
Compare
Choose a tag to compare
  • 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

14 May 22:14
Compare
Choose a tag to compare
  • Avoid 1 ms delay for checkForLongPressBlocking() if button is not pressed.
  • Only one true result per press for checkForLongPressBlocking().

Ported to ATtinyX5 and ATiny167

30 Mar 00:15
Compare
Choose a tag to compare
  • 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

26 Mar 12:45
Compare
Choose a tag to compare
v1.0.0

Added attachInterrupt() code