RSeries astromech firmware
|
#include <dome/TeecesLogics.h>
Teeces Rear Logics Device.
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 | |
TeecesRearLogics (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 |
Subclasses should implement this function to process commands specific to their device. 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 |
Subclasses should implement this function to process commands specific to their device.
By convention the first two characters are the device type identifier. 'H' 'P' for holoprojector, etc.
Implements CommandEvent.
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Subclasses must implement this function to perform any necessary setup that cannot happen in the constructor.
Implements SetupEvent.