MD_Cubo LED Cube Arduino Library
2.1
Library to control LED Cubes
|
Header file for the MD_Cubo 72xx class. More...
Classes | |
class | MD_Cubo_72xx |
Macros | |
#define | DEBUG_72XX 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_SIZE = 4 |
Cube size in the X, Y and Z axis. | |
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 72xx class.