Hi,
I really appreciate you helping me out like this. Here's a bit about the colorwipe. It's from Adafruit strandtest: https://github.com/adafruit/Adafruit-WS2801-Library and I just kind of tweaked it to get the result I want. It basically just steps up the lights one after another and then back down again.
In conjunction with the code I posted above for the function I'm working with, it also has this component towards the end of the sketch:
// fill the dots one after the other with said color
// good for testing purposes
void colorWipe(uint32_t c, uint8_t wait) {
int i;
for (i=0; i < strip.numPixels(); i++) {
strip.setPixelColor(i, c);
strip.show();
delay(wait);
}
}
/* Helper functions */
// Create a 24 bit color value from R,G,B
uint32_t Color(byte r, byte g, byte b)
{
uint32_t c;
c = r;
c <<= 8;
c |= g;
c <<= 8;
c |= b;
return c;
}
So that's all the colorwipe does. Now when I run it by itself it fades the strand up and down no problem. When I try it as I described, I get either nothing or the weird response depending on where I put break; So, I'm wondering if any of this new info helps you to help me?
Thanks again!