 #define PIN            6
 
 // How many NeoPixels are attached to the Arduino?
-#define NUMPIXELS      5
+#define NUMPIXELS      7
 
 // When we setup the NeoPixel library, we tell it how many pixels, and which pin to use to send signals.
 // Note that for older NeoPixel strips you might need to change the third parameter--see the strandtest

}

float hue = 0;

Color3F GenerateHue(float hue)
{

  for(int i=0; i < NUMPIXELS; i++)
  {
    Color3F c = GenerateHue(hue + ((float)i) / NUMPIXELS);

    float brightness = cos((phase + 1.0f * i / NUMPIXELS) * 2 * M_PI) / 2 + 0.5f;
    pixels.setPixelColor(i, pixels.Color(c.R * brightness, c.G * brightness, c.B * brightness));

    pixels.show(); // This sends the updated pixel color to the hardware.

    delay(delayval); // Delay for a period of time (in milliseconds).
  }

  hue = hue + hueOffset >= 1 ? 0 : hue + hueOffset;
  phase = phase + phaseOffset >= 1 ? 0 : phase + phaseOffset;
}

