Back to Parent

void loop() {
    uint16_t i;
    uint32_t b = strip.Color(0, 0, 255);

    for(i=0; i< strip.numPixels(); i++) {
        strip.setPixelColor(i, c );
		strip.show();
		delay( 100 );
    }* 
	
	delay( 100 );
	
    uint32_t r = strip.Color(255, 0, 0);

    for(i=0; i< strip.numPixels(); i++) {
        strip.setPixelColor(i, c );
		strip.show();
		delay( 100 );
    }* 
	
	delay( 100 );

    uint32_t g = strip.Color(0, 255, 0);

    for(i=0; i< strip.numPixels(); i++) {
        strip.setPixelColor(i, c );
		strip.show();
		delay( 100 );
    }* 
	
	delay( 100 );

    uint32_t w = strip.Color(255, 255, 255);

    for(i=0; i< strip.numPixels(); i++) {
        strip.setPixelColor(i, c );
		strip.show();
		delay( 100 );
    }* 
	
	delay( 100 );


}
Click to Expand

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0