-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
31 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "ServoEasing", | ||
"keywords": "Servo", | ||
"description": "Arduino library to enable smooth servo movement.", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/ArminJo/ServoEasing" | ||
}, | ||
"version": "2.0.0", | ||
"exclude": "pictures", | ||
"authors": { | ||
"name": "Armin Joachimsmeyer", | ||
"email": "[email protected]" | ||
}, | ||
"license": "GPL-3.0-or-later", | ||
"frameworks": "arduino", | ||
"platforms": [ | ||
"atmelavr", | ||
"atmelmegaavr", | ||
"atmelsam", | ||
"espressif8266", | ||
"espressif32", | ||
"ststm32" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ name=EasyButtonAtInt01 | |
version=3.0.0 | ||
author=Armin Joachimsmeyer | ||
maintainer=Armin Joachimsmeyer <[email protected]> | ||
sentence=Small and easy to use Arduino library for using push buttons at INT0 and / or INT1 pin using interrupts.<br/><br/>Just connect buttons between ground and pin 2 or 3 of your Arduino - that's it<br/><br/>No call of begin() or update() function needed, no polling function to call. No blocking debouncing.<br/> | ||
paragraph=INT0 and INT1 are connected to Pin 2 / 3 on most Arduinos (ATmega328), to PB6 / PA3 on ATtiny167 and on ATtinyX5 we have only INT0 at PB2.<br/><br/>In you main program define an EasyButton and use <i>ButtonStateIsActive</i> or <i>ButtonToggleState</i> to determine your action.<br/>Or use a <b>callback function</b> which will be called once on every button press or release.<br/><br/>Usage:<pre>#define USE_BUTTON_0<br/>#include "EasyButtonAtInt01.cpp.h"<br/>EasyButton Button0AtPin2;<br/><br/>void setup() {}<br/>void loop() {<br/>...<br/> digitalWrite(LED_BUILTIN, Button0AtPin2.ButtonToggleState);<br/>...<br/>}</pre><br/>Functions for long and double press detection are included.<br/><br/>New: Added button release handler. | ||
sentence=Small and easy to use Arduino library for using push buttons at INT0/pin2 and / or INT1/pin3 using interrupts.<br/>Functions for long and double press detection are included.<br/><br/>Just connect buttons between ground and pin 2 or 3 of your Arduino - that's it<br/><br/><b>No call</b> of begin() or polling function like update() required. No blocking debouncing delay.<br/> | ||
paragraph=<br/>Define an EasyButtonIn in you main program and use <i>ButtonStateIsActive</i> or <i>ButtonToggleState</i> to determine your action.<br/>Or use a <b>callback function</b> which will be called once on every button press or release.<br/><br/>Usage:<pre>#define USE_BUTTON_0<br/>#include "EasyButtonAtInt01.cpp.h"<br/>EasyButton Button0AtPin2;<br/><br/>void setup() {}<br/>void loop() {<br/>...<br/> digitalWrite(LED_BUILTIN, Button0AtPin2.ButtonToggleState);<br/>...<br/>}</pre><br/><br/>New: Added button release handler.<br/> | ||
category=Signal Input/Output | ||
url=https://github.com/ArminJo/EasyButtonAtInt01 | ||
architectures=avr |