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

Main 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.
 
#define DATA   11
 SPI Data pin number.
 
#define CLK   13
 SPI Clock pin number.
 
#define LOAD   10
 SPI Load pin number.
 
#define CUBE_XSIZE   8
 Cube size in the X axis.
 
#define CUBE_YSIZE   8
 Cube size in the Y axis.
 
#define CUBE_ZSIZE   8
 Cube size in the Z axis.
 
#define MAX_DEVICES   CUBE_XSIZE
 Number of 7219 devices is the same as X axis size.
 
#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

Main header file for the MD_Cubo jolliCube object.