Laser Stem Matrix - Display Large Heart
Sun Jul 09 2023 21:30:36 GMT+0000 (Coordinated Universal Time)
Saved by
@TechBox
// Create a function to display the beating heart frames
void animatedHeart()
{
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_large[i] == 1) {
leds[i] += CRGB::Red;
}
}
}
content_copyCOPY
Comments