2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
|
#include <IndicatorLights.h>
Public Member Functions | |
IndicatorLights ()=delete | |
IndicatorLights (LED(&&lights)[N], size_t maxIlluminated=N) | |
void | Initialize () |
void | Update () |
void | On (size_t idx) |
void | Off (size_t idx) |
void | Set (size_t idx, bool val) |
LED::LEDPattern | GetPattern (size_t idx) const |
void | SetPattern (size_t idx, LED::LEDPattern newPattern) |
size_t | GetNumLights () const |
bool | GetIlluminated (size_t idx) const |
Private Attributes | |
LED | m_lights [N] |
bool | m_initialized |
const size_t | m_numLEDs |
const size_t | m_maxIlluminated |
size_t | m_numIlluminated |
|
delete |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |