MD_Cubo LED Cube Arduino Library  1.1
Library to control LED Cubes
MD_Cubo_4x4_72xx.h File Reference

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.
 
#define DATA   11
 SPI Data pin number.
 
#define CLK   13
 SPI Clock pin number.
 
#define LOAD   10
 SPI Load pin number.
 
#define CUBE_SIZE   4
 Cube size in the X, Y and Z axis.
 
#define INTENSITY   0x0A
 MAX7219 intensity control register address.
 
#define ON_OFF   0x0C
 MAX7219 on/off control register address.
 
#define DECODE   0x09
 MAX7219 BCD decode control register address.
 
#define SCAN_DIGITS   0x0B
 MAX7219 scanned digits control register address.
 
#define TEST_MODE   0x0F
 MAX7219 test mode control register address.
 
#define DIGIT0   0x01
 MAX7219 DIGIT 0 register address. Digits 1..9 consecutive after this.
 

Detailed Description

Header file for the MD_Cubo 72xx class.