// SPDX-License-Identifier: BSD-2-Clause #pragma once #include #include "config.h" // Initialize the LED strip. Call once in setup(). void leds_begin(); // Apply 'color' to all LEDs using the pattern defined in config.h (ACTIVE_PATTERN). // If 'sparkle' is true, randomly flash individual LEDs white on top of the base fill. // Call leds_show() afterwards to push the update to the physical strip. void leds_apply_color(CRGB color, bool sparkle = false); // Flush the LED buffer to the physical strip. Call once per frame after leds_apply_color(). void leds_show();