Some constants added.

This commit is contained in:
Kai Lauterbach 2011-12-19 19:23:47 +01:00
parent ae799dbbdd
commit 37f0d5abe9

View file

@ -8,7 +8,10 @@
#define F_CPU 12000000UL #define F_CPU 12000000UL
// Bitshifting #define MODE_ANIMATION_STOP 0
#define set_bit(var, bit) ((var) |= (1 << (bit))) #define MODE_ANIMATION_SINGLE 1
#define clear_bit(var, bit) ((var) &= (unsigned)~(1 << (bit))) #define MODE_ANIMATION_LOOP 2
#define MAX_EEPROM_FRAMES 32
#define STARTUP_DELAY_MAX 10