mini-led-cube/firmware/globals.h
2014-10-15 21:39:06 +02:00

20 lines
422 B
C

/* økoyono 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