![]() |
HitLib 1.3.0
VEX V5 LED animation library for PROS
|
Ready-made Classic, Modern and Showy LED profiles. More...
#include "hitlib/led_strand.hpp"#include "hitlib/led_profile.hpp"#include "hitlib/led_sequencer.hpp"Namespaces | |
| namespace | hitlib |
| namespace | hitlib::profiles |
Functions | |
Classic - setup functions | |
Internal callbacks used by the Classic profile modes. | |
| void | hitlib::profiles::classicIdle (LedStrand &s) |
| void | hitlib::profiles::classicRed (LedStrand &s) |
| void | hitlib::profiles::classicBlue (LedStrand &s) |
| void | hitlib::profiles::classicScore (LedStrand &s) |
| void | hitlib::profiles::classicMatchloader (LedStrand &s) |
| void | hitlib::profiles::showoff (LedStrand &s) |
| void | hitlib::profiles::classicEgWarn (LedStrand &s) |
| void | hitlib::profiles::classicEgWhite (LedStrand &s) |
| void | hitlib::profiles::classicEgCycle (LedStrand &s) |
Variables | |
| const ProfileMode | hitlib::profiles::classicModes [] |
| const Profile | hitlib::profiles::classic |
| Classic profile instance. | |
| const ProfileMode | hitlib::profiles::modernModes [] |
| const Profile | hitlib::profiles::modern |
| Modern profile instance. | |
| const ProfileMode | hitlib::profiles::showyModes [] |
| const Profile | hitlib::profiles::showy |
| Showy profile instance. | |
Ready-made Classic, Modern and Showy LED profiles.
Include this header to access all three built-in profiles.
| Index | Name | Classic | Modern | Showy |
|---|---|---|---|---|
| 0 | Showoff | rainbow scroll | rainbow scroll | — |
| 1 | Idle | magenta flow | pink pulse | purple flow |
| 2 | Red | red pulse | red pulse + orange bg | white pulse / red bg |
| 3 | Blue | blue pulse | blue pulse + cyan bg | white pulse / blue bg |
| 4 | Scoring | green pulse | green flash | teal pulse |
| 5 | Matchload | yellow pulse | yellow pulse | — |
| 6 | Endgame | warn → white → cycle (12 s) | solid green → pulse (19 s) | yellow → rainbow (10 s) |