| 60 | } |
| 61 | |
| 62 | void loop() { |
| 63 | // leds(x,y) = fl::CRGB(255, 0, 0); |
| 64 | fl::clear(leds); |
| 65 | float from = offset; |
| 66 | float to = length.value() + offset.value(); |
| 67 | heartPath->drawColor(fl::CRGB(255, 0, 0), from, to, &leds, steps.as_int()); |
| 68 | FastLED.show(); |
| 69 | } |