FastLED 3.9.15
Loading...
Searching...
No Matches

◆ loop()

void loop ( )

Definition at line 87 of file FxNoiseRing.ino.

87 {
88
91 FASTLED_WARN("loop");
92 }
93 uint8_t bri = pir.transition(millis());
94 FastLED.setBrightness(bri * brightness.as<float>());
95 draw(millis());
96 FastLED.show();
97}
CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:58
UISlider brightness("Brightness", 255, 0, 255, 1)
PirAdvanced pir(PIN_PIR, PIR_LATCH_MS, PIR_RISING_TIME, PIR_FALLING_TIME)
CLEDController * controller
void draw(uint32_t now)
UICheckbox useDither("Use Binary Dither", true)
#define BINARY_DITHER
Enable dithering using binary dithering (only option)
Definition dither_mode.h:13
#define DISABLE_DITHER
Disable dithering.
Definition dither_mode.h:11
#define EVERY_N_SECONDS(N)
Checks whether to execute a block of code every N seconds.
Definition lib8tion.h:1306
#define FASTLED_WARN
Definition warn.h:7

References BINARY_DITHER, brightness, controller, DISABLE_DITHER, draw(), EVERY_N_SECONDS, FastLED, FASTLED_WARN, pir, and useDither.

+ Here is the call graph for this function: