-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
17 changed files
with
107 additions
and
87 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
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,22 +1,22 @@ | ||
/* | ||
This example shows how to use a generic indicator. | ||
This example shows how to use a generic Blinkenlight. | ||
The `update()` method returns HIGH or LOW that you can use however you want. | ||
Of course this example would be easer with a `Indicator` which handles the | ||
Of course this example would be easer with a `Blinkenlight` which handles the | ||
digital output automatically. | ||
*/ | ||
#include <BaseIndicator.h> | ||
#include <BaseBlinker.h> | ||
|
||
BaseIndicator myIndicator; | ||
BaseBlinker myBlinkenlight; | ||
|
||
void setup() | ||
{ | ||
pinMode(13, OUTPUT); | ||
myIndicator.blink(); | ||
myBlinkenlight.blink(); | ||
} | ||
|
||
void loop() | ||
{ | ||
bool isOn = myIndicator.update(); | ||
bool isOn = myBlinkenlight.update(); | ||
digitalWrite(13, isOn); | ||
} |
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,6 +1,6 @@ | ||
#include <Indicator.h> | ||
#include <Blinkenlight.h> | ||
|
||
Indicator led(13); | ||
Blinkenlight led(13); | ||
|
||
void setup() | ||
{ | ||
|
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,6 +1,6 @@ | ||
#include <Indicator.h> | ||
#include <Blinkenlight.h> | ||
|
||
Indicator led(13); | ||
Blinkenlight led(13); | ||
|
||
void setup() | ||
{ | ||
|
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
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=Indicator | ||
version=2.0.0 | ||
name=Blinkenlight | ||
version=2.0.1 | ||
author=Thomas Feldmann <[email protected]> | ||
maintainer=Thomas Feldmann <[email protected]> | ||
sentence=Supercharge your status LEDs / beepers | ||
paragraph=This library gives you non-blocking blinking patterns and smooth fade effects for your LEDs, buzzers or any other status indicators | ||
category=Signal Input/Output | ||
url=https://github.com/tfeldmann/Arduino-Indicator | ||
url=https://github.com/tfeldmann/Arduino-Blinkenlight | ||
architectures=* |
Oops, something went wrong.