~gabe/flashlight-firmware/anduril2

« back to all changes in this revision

Viewing changes to ToyKeeper/hwdef-FF_ROT66.h

merged recent fsm branch updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Fireflies ROT66 driver layout
 
2
 * same as a FW3A, basically, except ...
2
3
 */
3
 
// same as a FW3A, basically
4
 
#include "hwdef-FW3A.h"
5
4
 
6
5
// ... except the ROT66 has a lighted button
7
6
#ifndef AUXLED_PIN
8
7
#define AUXLED_PIN   PB2    // pin 7
9
8
#endif
10
9
 
 
10
// ... and slightly different calibration
 
11
#ifndef VOLTAGE_FUDGE_FACTOR
 
12
#define VOLTAGE_FUDGE_FACTOR 7  // add 0.35V
 
13
#endif
 
14
 
 
15
#include "hwdef-FW3A.h"
 
16
 
11
17
// ... and no optic nerve
12
18
#ifdef VISION_PIN
13
19
#undef VISION_PIN
14
20
#endif
15
21
 
16
 
// average drop across diode on this hardware
17
 
#ifdef VOLTAGE_FUDGE_FACTOR
18
 
#undef VOLTAGE_FUDGE_FACTOR
19
 
#endif
20
 
#define VOLTAGE_FUDGE_FACTOR 7  // add 0.35V