93 {
94
97 buffer = (buffer + 1) % 2;
99
100
102
103
105
106
107
110 pal_offset += 256;
112 input += 2;
113 for (uint8_t
x = 0;
x <
WIDTH;
x++) {
115 }
116 }
118}
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
void process_water(uint8_t *src, uint8_t *dst)
fl::CRGB MyColorFromPaletteExtended(const fl::CRGBPalette16 &pal, uint16_t index, uint8_t brightness, TBlendType blendType)
uint16_t XY(uint8_t x, uint8_t y)
void wu_water(uint8_t *const buf, uint16_t x, uint16_t y, uint8_t bright)
uint8_t water[2][WATERWIDTH *WATERHEIGHT]
const TProgmemRGBPalette16 RainbowColors_p
HSV Rainbow.
LIB8STATIC u8 beatsin8(accum88 beats_per_minute, u8 lowest=0, u8 highest=255, u32 timebase=0, u8 phase_offset=0) FL_NOEXCEPT
Generates an 8-bit sine wave at a given BPM that oscillates within a given range.
LIB8STATIC u16 beatsin16(accum88 beats_per_minute, u16 lowest=0, u16 highest=65535, u32 timebase=0, u16 phase_offset=0) FL_NOEXCEPT
Generates a 16-bit sine wave at a given BPM that oscillates within a given range.