WPILibC++ 2025.0.0-alpha-1-2-g5e745bc
LEDPattern.h File Reference
#include <functional>
#include <span>
#include <utility>
#include <units/frequency.h>
#include <units/length.h>
#include <units/time.h>
#include <units/velocity.h>
#include "frc/AddressableLED.h"
#include "util/Color.h"

Go to the source code of this file.

Classes

class  frc::LEDPattern
 

Namespaces

namespace  frc
 

Typedefs

using frc::LEDWriterFn = std::function< void(int, frc::Color)>
 Sets the LED at the given index to the given color. More...
 
using frc::LEDPatternFn = std::function< void(std::span< frc::AddressableLED::LEDData >, LEDWriterFn)>
 Accepts a data buffer (1st argument) and a callback (2nd argument) for writing data. More...