Skip to content

Commit 047fd17

Browse files
committed
Add compatibility to older pio versions
1 parent ecfaa68 commit 047fd17

File tree

2 files changed

+28
-30
lines changed

2 files changed

+28
-30
lines changed

library.json

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
11
{
2-
"name": "EasyButton",
3-
"keywords": "IO, button, sensor, arduino",
4-
"description": "EasyButton is an small Arduino library for debouncing momentary contact switches like tactile buttons. It uses events and callbacks to trigger actions when a button is pressed once or held for a given duration. It also provides a sequence counter to be able to rise an event when a given pattern of presses has been matched.",
5-
"version": "2.0.1",
6-
"repository": {
7-
"type": "git",
8-
"url": "https://github.com/evert-arias/EasyButton"
2+
"name": "EasyButton",
3+
"keywords": "IO, button, sensor, arduino",
4+
"description": "EasyButton is an small Arduino library for debouncing momentary contact switches like tactile buttons. It uses events and callbacks to trigger actions when a button is pressed once or held for a given duration. It also provides a sequence counter to be able to rise an event when a given pattern of presses has been matched.",
5+
"version": "2.0.1",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/evert-arias/EasyButton"
9+
},
10+
"url": "https://easybtn.earias.me",
11+
"frameworks": "arduino",
12+
"platforms": "espressif8266, espressif32",
13+
"dependencies": [
14+
{
15+
"owner": "megunolink",
16+
"name": "MegunoLink",
17+
"version": "^1.33"
18+
}
19+
],
20+
"authors": [
21+
{
22+
"name": "Evert Arias",
23+
"email": "[email protected]"
924
},
10-
"url": "https://easybtn.earias.me",
11-
"frameworks": "arduino",
12-
"platforms": "espressif8266, espressif32",
13-
"dependencies": [
14-
{ "megunolink/MegunoLink": "^1.33"}
15-
],
16-
"authors": [
17-
{
18-
"name": "Evert Arias",
19-
"email": "[email protected]"
20-
},
21-
{
22-
"name": "Felix A. Epp",
23-
"url": "https://github.com/eppfel"
24-
}
25-
]
26-
}
27-
25+
{
26+
"name": "Felix A. Epp",
27+
"url": "https://github.com/eppfel"
28+
}
29+
]
30+
}

platformio.ini

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)