Arduino Code for basic slowly cycling rainbow in a single Neopixel WS2811 LED strip. Can change the brightness, speed, and amount of rainbow shown at one time. Tested with Arduino Uno and up to 2 meters of LED strip.
Uses FastSPILED2 library to drive the LED strip: http://code.google.com/p/fastspi/