~toykeeper/flashlight-firmware/trunk

188.7.1 by Selene Scriven
Reworked the config file include system so it'll include the #defined value
1
#ifndef HWDEF_FERRERO_ROCHER_H
2
#define HWDEF_FERRERO_ROCHER_H
3
188.1.154 by Selene Scriven
Refactored driver/hardware definition code to be one file per driver type.
4
/* Ferrero Rocher driver layout
5
 *            ----
6
 *    Reset -|1  8|- VCC
7
 * E-switch -|2  7|- Voltage ADC
8
 *  Red LED -|3  6|- PWM
9
 *      GND -|4  5|- Green LED
10
 *            ----
11
 */
12
// TODO: fill in this section, update Ferrero_Rocher code to use it.
13
#define FAST 0x23           // fast PWM channel 1 only
14
#define PHASE 0x21          // phase-correct PWM channel 1 only
188.7.1 by Selene Scriven
Reworked the config file include system so it'll include the #defined value
15
16
#define LAYOUT_DEFINED
17
18
#endif