95 {
96
98
99
101
102
104
105
107
110
111 uint16_t easeInput =
map(sliderValue * 1000, 0, 1000, 0, 65535);
114 } else {
115
116 uint8_t easeInput =
map(sliderValue * 1000, 0, 1000, 0, 255);
117 uint8_t easeOutput =
ease8(selectedEaseType, easeInput);
119 }
120
121
124 }
125
127}
fl::UIDropdown easeTypeDropdown("Ease Type", easeOptions)
fl::UICheckbox use16Bit("16-bit", true)
fl::EaseType getEaseType(int value)
fl::LedsXY< MATRIX_WIDTH, MATRIX_HEIGHT > leds
fl::UISlider xPosition("xPosition", 0.0f, 0.0f, 1.0f, 0.01f)
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
u8 ease8(EaseType type, u8 i) FL_NOEXCEPT
void clear(CRGB(&arr)[N])
MapRedBlackTree< Key, T, Compare, fl::allocator_slab< char > > map
u16 ease16(EaseType type, u16 i) FL_NOEXCEPT
@ White
<div style='background:#FFFFFF;width:4em;height:4em;'></div>