void loop() {
Pattern1(255, 0, 0);
}
void Pattern1(int a , int b , int c) {
for (int i = 0 ; i < 300; i++) {
strip.setPixelColor(i, a, b, c);
strip.show();
//delay(0);
}
}
I have Pixel LED strip which have 300 Pixel LEDs, I want turn on all the LEDs at once ( Example RED color ) , So I used above program but it turn on the LED one after another and it takes around 4 second turn on all the LEDs, please advice to turn on all the LEDs at once
Thanks in advanced