diff options
| author | Selene ToyKeeper | 2018-06-24 20:10:33 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2018-06-24 20:10:33 -0600 |
| commit | 2e76fafd027c027b23964e6f4c2e27f26732db64 (patch) | |
| tree | 66d68a9afbb0341de5614bc78f6f64137b130e3a /hwdef-Ferrero_Rocher.h | |
| parent | Added D4S to the build-all script. (diff) | |
| parent | Refactored driver/hardware definition code to be one file per driver type. (diff) | |
| download | anduril-2e76fafd027c027b23964e6f4c2e27f26732db64.tar.gz anduril-2e76fafd027c027b23964e6f4c2e27f26732db64.tar.bz2 anduril-2e76fafd027c027b23964e6f4c2e27f26732db64.zip | |
merged updates from FSM branch
Diffstat (limited to 'hwdef-Ferrero_Rocher.h')
| -rw-r--r-- | hwdef-Ferrero_Rocher.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hwdef-Ferrero_Rocher.h b/hwdef-Ferrero_Rocher.h new file mode 100644 index 0000000..a46f19d --- /dev/null +++ b/hwdef-Ferrero_Rocher.h @@ -0,0 +1,11 @@ +/* Ferrero Rocher driver layout + * ---- + * Reset -|1 8|- VCC + * E-switch -|2 7|- Voltage ADC + * Red LED -|3 6|- PWM + * GND -|4 5|- Green LED + * ---- + */ +// TODO: fill in this section, update Ferrero_Rocher code to use it. +#define FAST 0x23 // fast PWM channel 1 only +#define PHASE 0x21 // phase-correct PWM channel 1 only |
