Skip to content

Commit

Permalink
ready for 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LennartHennigs committed Jan 2, 2024
1 parent 66c0fbe commit e303a47
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

## Unreleased

- nothing, so far

## [2.3.0] - 2024-01-02

- renamed Button2 constants, they now start with `BTN_` (BREAKING CHANGE)
- added `Hardware.h` – it implements hardware pin abstraction. Needed for unit testing
- added Unit Tests
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Button2",
"version": "2.2.4",
"version": "2.3.0",
"keywords": "button",
"description": "Arduino/ESP Library to simplify working with buttons. It allows you to use callback functions to track single, double, triple and long clicks. Alternatively, it provides function to use in your main loop(). The library also takes care of debouncing. Using this lib will reduce and simplify your source code significantly.",
"homepage": "https://github.com/LennartHennigs/Button2",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Button2
version=2.2.4
version=2.3.0
author=Lennart Hennigs
maintainer=Lennart Hennigs <mail@lennarthennigs.de>
sentence=Arduino/ESP library to simplify working with buttons.
Expand Down
3 changes: 2 additions & 1 deletion src/Button2.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/////////////////////////////////////////////////////////////////
/*
Button2.cpp - Arduino Library to simplify working with buttons.
Created by Lennart Hennigs.
Copyright (C) 2017-2023 Lennart Hennigs.
Released under the MIT license.
*/
/////////////////////////////////////////////////////////////////

Expand Down
4 changes: 3 additions & 1 deletion src/Button2.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/////////////////////////////////////////////////////////////////
/*
Button2.h - Arduino Library to simplify working with buttons.
Created by Lennart Hennigs.
Copyright (C) 2017-2023 Lennart Hennigs.
Released under the MIT license.
*/
/////////////////////////////////////////////////////////////////

Expand Down
4 changes: 2 additions & 2 deletions src/Hardware.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/////////////////////////////////////////////////////////////////
/*
Hardware.h - Implements Arduino Hardware Abstraction Layer.
Part or Button2 library for Arduino.
Created by Lennart Hennigs.
Copyright (C) 2017-2023 Lennart Hennigs.
Released under the MIT license.
*/
/////////////////////////////////////////////////////////////////
#include <Arduino.h>
Expand Down

0 comments on commit e303a47

Please sign in to comment.