MD_Cubo LED Cube Arduino Library
2.1
Library to control LED Cubes
|
header file for the MD_Cubo jolliCube object More...
Classes | |
class | MD_Cubo_JC |
Macros | |
#define | DEBUG_JC 0 |
Enable or disable (default) debugging output from the example. | |
#define | PRINT(s, v) |
Print a string followed by a value (decimal) | |
#define | PRINTX(s, v) |
Print a string followed by a value (hex) | |
#define | PRINTB(s, v) |
Print a string followed by a value (binary) | |
#define | PRINTS(s) |
Print a string. | |
Variables | |
const uint8_t | DATA = 11 |
SPI Data pin number. | |
const uint8_t | CLK = 13 |
SPI Clock pin number. | |
const uint8_t | LOAD = 10 |
SPI Load pin number. | |
const uint8_t | CUBE_XSIZE = 8 |
Cube size in the X axis. | |
const uint8_t | CUBE_YSIZE = 8 |
Cube size in the Y axis. | |
const uint8_t | CUBE_ZSIZE = 8 |
Cube size in the Z axis. | |
const uint8_t | MAX_DEVICES = CUBE_XSIZE |
Number of 7219 devices is the same as X axis size. | |
const uint8_t | R_INTENSITY = 0x0A |
MAX7219 intensity control register address. | |
const uint8_t | R_ON_OFF = 0x0C |
MAX7219 on/off control register address. | |
const uint8_t | R_DECODE = 0x09 |
MAX7219 BCD decode control register address. | |
const uint8_t | R_SCAN_DIGITS = 0x0B |
MAX7219 scanned digits control register address. | |
const uint8_t | R_TEST_MODE = 0x0F |
MAX7219 test mode control register address. | |
const uint8_t | R_DIGIT0 = 0x01 |
MAX7219 DIGIT 0 register address. Digits 1..9 consecutive after this. | |
header file for the MD_Cubo jolliCube object