FastLED.clear(); //Clear the LED Array
//A heart displays and beats across the Laser Stems
for (int i = 0; i < NUM_LEDS; i++){ // Cycle through each LED on the matrix
if (heart_small[i] == 1) {
leds[i] += CRGB::Red;
}
}
FastLED.show();
delay(500);
FastLED.clear(); //Clear the LED Array
for (int i = 0; i < NUM_LEDS; i++){ // Cycle through each LED on the matrix
if (heart_large[i] == 1) {
leds[i] += CRGB::Red;
}
}
FastLED.show();
delay(500);
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter