-
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
8 additions
and
10 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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name=EasyButtonAtInt01 | ||
version=1.0 | ||
version=1.0.0 | ||
author=Armin Joachimsmeyer | ||
maintainer=Armin Joachimsmeyer <[email protected]> | ||
sentence=Arduino library for handling push buttons at INT0 and / or INT1 pin (pin 2 / 3) | ||
paragraph=Just attach buttons to pin 2 or 3 of your Arduino - thats it. In you main program define a EasyButton and use ButtonStateIsActive or ButtonToggleState to determine your action. Or use a callback function called once on every button press. If timing does matter, 3 more variables are available: ButtonPressDurationMillis, ButtonLastChangeMillis and ButtonReleaseMillis. | ||
category=Input | ||
sentence=Small and easy to use Arduino library for using push buttons at INT0 and / or INT1 pin (pin 2 / 3) using interrupts.<br/>No call of begin() or update() function needed. No blocking debouncing.<br/><br/> | ||
paragraph=Just connect buttons between ground and pin 2 or 3 of your Arduino - thats it.<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 callback function which will be called once on every button press.<br/><br/>Usage:<pre>#define USE_BUTTON_0<br/>#include "EasyButtonAtInt01.h"<br/>EasyButton Button0AtPin2(true);<br/><br/>void setup() {}<br/>void loop() {<br/>...<br/> digitalWrite(LED_BUILTIN, Button0AtPin2.ButtonToggleState);<br/>...<br/>}</pre><br/>If button timing is of interest, 3 variables are available:<ul><li>ButtonPressDurationMillis</li><li>ButtonLastChangeMillis</li><li>ButtonReleaseMillis</li></ul> | ||
category=Signal Input/Output | ||
url=https://github.com/ArminJo/EasyButtonAtInt01 | ||
architectures=avr |
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