Some constants added.
This commit is contained in:
parent
ae799dbbdd
commit
37f0d5abe9
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue