/*
Flasher Class Demo
Add blinking LEDs with just 2 lines of code
Multi-tasking the Arduino - By Bill Earl
https://learn.adafruit.com/multi-tasking-the-arduino-part-1?view=all
*/
#include "flasher.h"
// Flasher(int pin, long on, long off)
Flasher led1(13, 500, 500);
Flasher led2(12, 1000, 1000);
Flasher led3(11, 2000, 2000);
Flasher led4(10, 4000, 4000);
void setup() {
// nothing to do
}
void loop() {
led1.Update();
led2.Update();
led3.Update();
led4.Update();
}