| 56 | fl::XYMap::constructRectangularGrid(WIDTH, HEIGHT); |
| 57 | |
| 58 | void setup() { |
| 59 | |
| 60 | // tell FastLED about the LED strip configuration |
| 61 | FastLED.addLeds<LED_TYPE, DATA_PIN, COLOR_ORDER>(leds, NUM_LEDS) |
| 62 | .setCorrection(TypicalLEDStrip) |
| 63 | .setScreenMap(xyMap); |
| 64 | // set master brightness control |
| 65 | FastLED.setBrightness(BRIGHTNESS); |
| 66 | |
| 67 | // Set default dropdown selections |
| 68 | saturationFunction.setSelectedIndex(1); // "In Quad" |
| 69 | luminanceFunction.setSelectedIndex(0); // "None" |
| 70 | } |
| 71 | |
| 72 | fl::EaseType getEaseType(int value) { |
| 73 | switch (value) { |
nothing calls this directly
no test coverage detected