2011-12-09 23:15:06 +01:00
|
|
|
/* CTHN.de MiniLEDCube
|
|
|
|
*
|
2011-12-20 22:36:04 +01:00
|
|
|
* By Kai Lauterbach (klaute at web dot de) 11/2011
|
2011-12-09 23:15:06 +01:00
|
|
|
*
|
|
|
|
* License: General Public License (GPL v3)
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2011-10-19 00:04:59 +02:00
|
|
|
#define F_CPU 12000000UL
|
|
|
|
|
2011-12-19 19:23:47 +01:00
|
|
|
#define MODE_ANIMATION_STOP 0
|
|
|
|
#define MODE_ANIMATION_SINGLE 1
|
|
|
|
#define MODE_ANIMATION_LOOP 2
|
|
|
|
|
2011-12-31 18:24:05 +01:00
|
|
|
// 32 * 4 byte (32bit unsigned integer) = 128 byte eeprom
|
2011-12-19 19:23:47 +01:00
|
|
|
#define MAX_EEPROM_FRAMES 32
|
2011-10-19 00:04:59 +02:00
|
|
|
|
2011-12-27 11:45:16 +01:00
|
|
|
#ifndef EEMEM
|
|
|
|
#define EEMEM __attribute__ ((section (".eeprom")))
|
|
|
|
#endif
|