HitLib 1.5.0
VEX V5 LED animation library for PROS
Loading...
Searching...
No Matches
led_strand.hpp File Reference

Single addressable LED strip driver with layered animation engine. More...

#include "led_profile.hpp"
#include "platform.hpp"
#include <cstddef>
#include <cstdint>
#include <utility>
#include <vector>

Classes

class  hitlib::LedStrand
 Driver for a single WS2812B-compatible LED strip on a VEX ADI port. More...
struct  hitlib::LedStrand::ExpanderPort
 A port on an ADI expander: the Smart Port the expander is plugged into, and the ADI port on it. More...
struct  hitlib::LedStrand::BitScrollSegment
 One colored segment in a bitscroll pattern. More...
struct  hitlib::LedStrand::Speed
 How fast a moving animation travels: so many pixels, so often. More...
struct  hitlib::LedStrand::GaugeStop
 One color on a GAUGE region's scale. More...
struct  hitlib::LedStrand::SpliceRegion
 One independently placed override region for a custom splice mask. More...
struct  hitlib::LedStrand::MusicTrack
 A song's intensity envelope, baked ahead of time into one 8-bit sample per frame. More...
struct  hitlib::LedStrand::LayerSpan
 Which pixels a layer owns. More...
struct  hitlib::LedStrand::LayerMix
 How a layer lands. opacity is 0-255 and is bindable. More...
struct  hitlib::LedStrand::Binding
 Ties one driver to one parameter of one layer. More...
struct  hitlib::LedStrand::LayerPaint
struct  hitlib::LedStrand::LayerMotion
 speed.pixels is what a LayerParam::SPEED binding moves; the time between steps stays the layer's own. More...
struct  hitlib::LedStrand::LayerFlash
struct  hitlib::LedStrand::LayerTime
 When a layer is on, inside the composition's loop. More...
struct  hitlib::LedStrand::LayerSparkle
struct  hitlib::LedStrand::LayerPattern
struct  hitlib::LedStrand::LayerGauge
struct  hitlib::LedStrand::LayerFrames
 A hand-drawn pixel strip: x = pixel, y = frame. More...
struct  hitlib::LedStrand::Layer
 One layer of a Composition: what it draws, where, when, what moves it, and how it lands on the layers below it. More...
struct  hitlib::LedStrand::Driver
 One thing a composition watches, reduced to a byte per tick. More...
struct  hitlib::LedStrand::Composition
 A named, reusable custom animation: layers over a driver table and a clock. More...

Namespaces

namespace  hitlib

Detailed Description

Single addressable LED strip driver with layered animation engine.