Simple library for LED blinking.
Fork of Blinker by
Diff: Blinker.cpp
- Revision:
- 2:190915d53c0b
- Parent:
- 0:c9a302c4bed9
--- a/Blinker.cpp Tue Dec 16 09:25:44 2014 +0000 +++ b/Blinker.cpp Sun Nov 15 09:12:51 2015 +0000 @@ -8,8 +8,8 @@ void Blinker::blink(int n, float t) { for (int i = 0; i < n; i++) { myled = 1; - wait(t); + wait(t/2); myled = 0; - wait(t); + wait(t/2); } } \ No newline at end of file