diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-03-16 13:43:30 +0400 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-03-16 13:43:30 +0400 |
commit | 4c8c94514f46d9cf944d6bec8d64180ae02b5d38 (patch) | |
tree | fe3565442b8758b4d5d08a46126c0aeb3badbd3c /examples | |
parent | 4f74b580304eb04b007a22457b4981360d620f5e (diff) |
* Move controller linkage to linked list, get rid of constant array of controllers
* Perform memory usage trimming on avr code and code across the board
* Tweak template instantiations for clockless chipsets to get rid of spurious globals that were never being used.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Cylon/Cylon.ino | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Cylon/Cylon.ino b/examples/Cylon/Cylon.ino index 443b84d6..dfb6ed78 100644 --- a/examples/Cylon/Cylon.ino +++ b/examples/Cylon/Cylon.ino @@ -6,7 +6,7 @@ // For led chips like Neopixels, which have a data line, ground, and power, you just // need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock, // ground, and power), like the LPD8806, define both DATA_PIN and CLOCK_PIN -#define DATA_PIN 2 +#define DATA_PIN 6 #define CLOCK_PIN 13 // Define the array of leds @@ -26,7 +26,7 @@ void loop() { // now that we've shown the leds, reset the i'th led to black leds[i] = CRGB::Black; // Wait a little bit before we loop around and do it again - delay(300); + delay(30); } // Now go in the other direction. @@ -38,6 +38,6 @@ void loop() { // now that we've shown the leds, reset the i'th led to black leds[i] = CRGB::Black; // Wait a little bit before we loop around and do it again - delay(300); + delay(30); } } |