mini-led-cube/firmware/globals.h

21 lines
422 B
C
Raw Normal View History

2014-10-15 21:39:06 +02:00
/* økoyono MiniLEDCube
2011-12-09 23:15:06 +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)
*
*/
#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-12-27 11:45:16 +01:00
#ifndef EEMEM
#define EEMEM __attribute__ ((section (".eeprom")))
#endif