Parola for Arduino 3.7
Text effects for LED Matrix modular hardware
Loading...
Searching...
No Matches
MD_Parola_lib.h File Reference

Contains internal library definitions. More...

This graph shows which files directly or indirectly include this file:

Macros

#define DEBUG_PAROLA   0
 Set to 1 to enable General debug output.
 
#define DEBUG_PAROLA_FSM   0
 Set to 1 to enable Finite State Machine debug output.
 
#define TIME_PROFILING   0
 Set to 1 to enable Time Profile debug output.
 
#define PRINT(s, v)
 (GENERAL) Print a string followed by a value (decimal)
 
#define PRINTX(s, v)
 (GENERAL) Print a string followed by a value (hex)
 
#define PRINTS(s)
 (GENERAL) Print a string
 
#define FSMPRINT(s, v)
 (FSM) Print a string followed by a value (decimal)
 
#define FSMPRINTX(s, v)
 (FSM) Print a string followed by a value (hex)
 
#define FSMPRINTS(s)
 (FSM) Print a string
 
#define PRINT_STATE(f)
 (FSM) Print the current FSM state information
 
#define LIGHT_BAR   (_inverted ? 0 : 0xFF)
 Turn display column to all LEDs on.
 
#define EMPTY_BAR   (_inverted ? 0xFF : 0)
 Turn display column to all LEDs off.
 
#define DATA_BAR(d)   (_inverted ? ~d : d)
 Turn display column to specified data.
 
#define ZE_SET(b, mask)   ((b & ~mask) | mask)
 clear the bit then put it back in
 
#define ZE_RESET(b, mask)   (b & ~mask)
 clear the bit
 
#define ZE_TEST(b, mask)   ((b & mask) != 0)
 mask off the bit
 
#define ZE_FLIP_UD_MASK   0x01
 mask bit 0
 
#define ZE_FLIP_LR_MASK   0x02
 mask bit 1
 
#define SFX(s)   ((_moveIn && _effectIn == (s)) || (!_moveIn && _effectOut == (s)))
 Effect is selected if it is the effect for the current motion.
 
#define DEFAULT_INTENSITY   7
 Startup default intensity setting.
 

Detailed Description

Contains internal library definitions.