This file contains hidden or 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
| #include "LPD8806.h" | |
| #include "SPI.h" | |
| // Simple test for 260 (5 meters) of LPD8806-based RGB LED strip, this is a | |
| // modified version of the original demo - it creates a rainbow, animates it | |
| // and fades from black->colours->white->colours->black in a cycle, holding | |
| // somewhat longer on the full colour, all while cycling the rainbow colours. | |
| // This has been tested with a high density (260 LEDs / 5m) strip and a nano | |
| // board, running from a 5V 10A PSU. |