1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00
2013-09-29 09:28:58 +10:00

19 lines
368 B
C++

/*
Sketch that manipulates Arduino outputs to create the "Cylon Eyes" effect from
Battlestar Galactica. It uses the ChaseLEDs utility class.
This example is placed into the public domain.
*/
#include <ChaseLEDs.h>
byte pins[] = {3, 5, 6, 9, 10, 11, 10, 9, 6, 5};
ChaseLEDs cylonEyes(pins, sizeof(pins), 100);
void setup() {}
void loop() {
cylonEyes.loop();
}