completely redid PWM: Now calculate 'microprograms', i.e. pairs of
[moodlight.git] / eepromdata.h
1 /* $Id: eepromdata.h,v 1.1 2010/07/24 20:55:48 simimeie Exp $
2  * Defines the contents of the EEPROM.
3  * The EEPROM contains settings and can also contain "programs" for the LEDs.
4  * Usually you only need to reprogram the eeprom after changing values here,
5  * unless compiler version changed and thus the data got reordered.
6  */ 
7
8 #define EEPROM __attribute__ ((section (".eeprom")))
9
10 /* The default brightness */
11 uint8_t EEPROM ee_defledbrightness = 128;
12
13 /* All the rest of the memory is used for storing LED "programs".
14  * For the following to work, <avr/io.h> needs to be included before this file -
15  * which usually should be the case anyways.
16  * Formula is: E2END + 1 - (number of bytes used by other stuff in EEPROM) */
17 uint8_t EEPROM ee_ledprograms[E2END + 1 - 1];
18
This page took 0.044925 seconds and 3 git commands to generate.