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)
 Turn display column to specified data.
#define ZE_SET(b, mask)
 clear the bit then put it back in
#define ZE_RESET(b, mask)
 clear the bit
#define ZE_TEST(b, mask)
 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)
 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.

Macro Definition Documentation

◆ DATA_BAR

#define DATA_BAR ( d)
Value:
(_inverted ? ~d : d)

Turn display column to specified data.

◆ SFX

#define SFX ( s)
Value:
((_moveIn && _effectIn == (s)) || (!_moveIn && _effectOut == (s)))

Effect is selected if it is the effect for the current motion.

◆ ZE_RESET

#define ZE_RESET ( b,
mask )
Value:
(b & ~mask)

clear the bit

◆ ZE_SET

#define ZE_SET ( b,
mask )
Value:
((b & ~mask) | mask)

clear the bit then put it back in

◆ ZE_TEST

#define ZE_TEST ( b,
mask )
Value:
((b & mask) != 0)

mask off the bit