| 106 | fl::FxEngine fxEngine(NUM_LEDS); |
| 107 | |
| 108 | void setup() { |
| 109 | Serial.begin(115200); |
| 110 | Serial.println("Sketch setup"); |
| 111 | FastLED.addLeds<WS2811, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS) |
| 112 | .setCorrection(TypicalLEDStrip) |
| 113 | .setScreenMap(xyMap); // This is needed for the web display to work correctly. |
| 114 | Serial.println("FastLED setup done"); |
| 115 | FastLED.setBrightness(brightness); |
| 116 | //noisePalette.setSpeed(speed); |
| 117 | noisePalette.setScale(scale); |
| 118 | fxEngine.addFx(animartrix); // Adding both effects allows us to switch between them. |
| 119 | fxEngine.addFx(noisePalette); |
| 120 | Serial.println("Sketch setup done"); |
| 121 | } |
| 122 | |
| 123 | void loop() { |
| 124 | uint32_t now = fl::millis(); |
nothing calls this directly
no test coverage detected