49 uint32_t latchMs = 5000,
50 uint32_t risingTime = 1000,
51 uint32_t fallingTime = 1000,
52 const char* button_name =
nullptr);
UISlider transition("Transition", 0.0f, 0.0f, 1.0f, 0.01f)
void activate(uint32_t now)
Manually start the latch cycle (e.g. on startup)
bool detect(uint32_t now)
Returns true if the PIR is “latched on” (within latchMs of last trigger).
PirAdvanced(int pin, uint32_t latchMs=5000, uint32_t risingTime=1000, uint32_t fallingTime=1000, const char *button_name=nullptr)
Implements the FastLED namespace macros.
Implements a simple red square effect for 2D LED grids.