FastLED 3.10.6
Loading...
Searching...
No Matches

◆ loop()

void loop ( )

Definition at line 52 of file ColorProfile.ino.

52 {
53 // A slow hue sweep: with a profile bound, equal steps here are equal
54 // steps of colour on the strip.
55 const uint8_t hue = static_cast<uint8_t>(millis() / 32);
57 FastLED.show();
58 delay(16);
59}
CRGB leds[1]
#define NUM_LEDS
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
uint8_t hue
Definition advanced.h:94
void fill_rainbow(CRGB *targetArray, int numToFill, fl::u8 initialhue, fl::u8 deltahue=5) FL_NO_EXCEPT
Fill a range of LEDs with a rainbow of colors.
Definition fill.cpp.hpp:29
void delay(u32 ms, bool run_async=true) FL_NO_EXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
Definition delay.h:98
fl::u32 millis()
Universal millisecond timer - returns milliseconds since system startup.
unsigned char uint8_t
Definition stdint.h:208

References FastLED, fill_rainbow(), hue, leds, and NUM_LEDS.

+ Here is the call graph for this function: