for question 2, Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_RGB + NEO_KHZ800); // an instance for the LED striptry changing NEO_RGB to NEO_GRB ledstrips come in all types, also using the same chip, the way it is connected to the led may differ per strip(type) the 3rd argument in the object declares the RGB sequence of the strip
1)The strip turns on initially and I need it to be OFF at the start.
Deva_Rishi:
for question 2, Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_RGB + NEO_KHZ800); // an instance for the LED striptry changing NEO_RGB to NEO_GRB ledstrips come in all types, also using the same chip, the way it is connected to the led may differ per strip(type) the 3rd argument in the object declares the RGB sequence of the stripwhat do you mean by that ?
Thanks! I'll try the GRB option now. That would make sense. It's not specifically a neopixel strip so could well be that.
I mean that if you see the video, the strip lights up green when power is applied and then does the colour wipe and stays ON.
Is is possible to have the strip OFF on power up, do the colour wipe and then remain ON?
There is no real programmatic reason for the strip to light up 'green' at first, other than that maybe the strip was green before power-down. (some do tend to have a slight memory)
Is is possible to have the strip OFF on power up, do the colour wipe and then remain ON?
so technically speaking it is off on power-up. If you want it to do just one color wipe you have to move that part of the code from loop() to setup() where it only gets run once.