mini-led-cube/firmware/globals.h
2011-12-31 18:24:05 +01:00

20 lines
421 B
C

/* CTHN.de MiniLEDCube
*
* By Kai Lauterbach (klaute at web dot de) 11/2011
*
* License: General Public License (GPL v3)
*
*/
#define F_CPU 12000000UL
#define MODE_ANIMATION_STOP 0
#define MODE_ANIMATION_SINGLE 1
#define MODE_ANIMATION_LOOP 2
// 32 * 4 byte (32bit unsigned integer) = 128 byte eeprom
#define MAX_EEPROM_FRAMES 32
#ifndef EEMEM
#define EEMEM __attribute__ ((section (".eeprom")))
#endif