12 lines
170 B
C
12 lines
170 B
C
// state machine
|
|
// List animations here
|
|
|
|
typedef enum STATE {
|
|
CHASETHEDOT,
|
|
RANDOMRAINBOW,
|
|
PLANARFLOP3D
|
|
};
|
|
|
|
STATE currentState, lastState;
|
|
|
|
bool timerReset = true;
|