RSeries astromech firmware
|
#include <dome/TeecesLogics.h>
Teeces Front Logics Device.
Controller class for Teeces style Front Logics.
Example sketch:
For further information on the hardware:
Public Types | |
enum | { kNormalVal = 0 } |
enum | { kNormal = 0, kSolid = 1, kToggle = 2, kFlash = 3, kAlert = 4, kHorizontalScan = 5, kVerticalScan = 6, kSequence = 7, kLife = 8 } |
Public Member Functions | |
TeecesFrontLogics (LedControl &ledControl) | |
int | numRows () const |
int | numColumns () const |
virtual void | setup () override |
Subclasses must implement this function to perform any necessary setup that cannot happen in the constructor. More... | |
void | selectEffect (long inputNum) |
virtual void | handleCommand (const char *cmd) override |
Command Prefix: FL (top and bottom logics) Command Prefix: TL (top logics) Command Prefix: BL (bottom logics) More... | |
virtual void | animate () override |
Subclasses must implement this function to run through a single frame of animation/activity. More... | |
Public Member Functions inherited from AnimatedEvent | |
AnimatedEvent () | |
Default Constructor. More... | |
void | setLoopDoneCallback (AnimatedLoopDone loopProc) |
Additional Inherited Members | |
Static Public Member Functions inherited from AnimatedEvent | |
static void | process () |
Calls animate() for each created AnimatedEvent subclass. More... | |
anonymous enum |
|
inline |
|
inlineoverridevirtual |
Subclasses must implement this function to run through a single frame of animation/activity.
Subclasses should not call delay() or otherwise block.
Implements AnimatedEvent.
|
inlineoverridevirtual |
Command Prefix: FL (top and bottom logics) Command Prefix: TL (top logics) Command Prefix: BL (bottom logics)
Implements CommandEvent.
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Subclasses must implement this function to perform any necessary setup that cannot happen in the constructor.
Implements SetupEvent.