MD_MAX72xx LED Matrix Arduino Library  2.4
Library to control connected MAX72XX devices as a pixel array
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MD_MAX72xx.h File Reference

Main header file for the MD_MAX72xx library. More...

#include <Arduino.h>
Include dependency graph for MD_MAX72xx.h:
This graph shows which files directly or indirectly include this file:

Classes

class  MD_MAX72XX
 

Macros

#define USE_PAROLA_HW   1
 
#define USE_GENERIC_HW   0
 
#define USE_ICSTATION_HW   0
 
#define USE_LOCAL_FONT   1
 
#define USE_INDEX_FONT   0
 
#define ROW_SIZE   8
 The size in pixels of a row in the device LED matrix array.
 
#define COL_SIZE   8
 The size in pixels of a column in the device LED matrix array.
 
#define MAX_INTENSITY   0xf
 The maximum intensity value that can be set for a LED array.
 
#define MAX_SCANLIMIT   7
 The maximum scan limit value that can be set for the devices.
 

Detailed Description

Main header file for the MD_MAX72xx library.

Macro Definition Documentation

#define USE_GENERIC_HW   0

Set to 1 to use 'generic' hardware modules commonly available, with connectors at the top and bottom of the PCB, available from many sources.

#define USE_ICSTATION_HW   0

Set to 1 to use ICStation DIY hardware module kits available from http://www.icstation.com/product_info.php?products_id=2609#.UxqVJyxWGHs This hardware must be set up with the input on the RHS.

#define USE_INDEX_FONT   0

Set to 1 to enable font indexing to speed up font lookups - usually disabled. This will trade off increased stack RAM usage for lookup speed if enabled. When disabled lookups will then become linear searches through PROGMEM. Uses FONT_INDEX_SIZE elements of uint16_t (512 bytes) if enabled. For most purposes the increase in speed is not needed.

USE_LOCAL FONT must be enabled for this option to take effect.

#define USE_LOCAL_FONT   1

Set to 1 (default) to enable local font in this library and enable loadChar() and related methods. If the library is just used for graphics some FLASH RAM can be saved by not including the code to process font data. The font file is stored in PROGMEM.

#define USE_PAROLA_HW   1

Set to 1 (default) to use the Parola hardware modules. The software was originally designed to operate with this hardware type.