| 99 | } |
| 100 | |
| 101 | void setup() { |
| 102 | Serial.begin(115200); |
| 103 | auto screenmap = xyMap.toScreenMap(); |
| 104 | screenmap.setDiameter(.2); |
| 105 | FastLED.addLeds<NEOPIXEL, 2>(leds, xyMap.getTotal()) |
| 106 | .setScreenMap(screenmap); |
| 107 | auto screenmap2 = xyMap_Dst.toScreenMap(); |
| 108 | screenmap.setDiameter(.5); |
| 109 | screenmap2.addOffsetY(-HEIGHT / 2); |
| 110 | FastLED.addLeds<NEOPIXEL, 3>(leds_downscaled, xyMap_Dst.getTotal()) |
| 111 | .setScreenMap(screenmap2); |
| 112 | setupUiCallbacks(); |
| 113 | // Initialize wave simulation. Please don't use static constructors, keep it |
| 114 | // in setup(). |
| 115 | trigger.click(); |
| 116 | wave_fx = NewWaveSimulation2D(xyMap); |
| 117 | } |
| 118 | |
| 119 | //////////////////// LOOP SECTION ///////////////////////////// |
| 120 |
nothing calls this directly
no test coverage detected