~gabe/flashlight-firmware/anduril2

« back to all changes in this revision

Viewing changes to ToyKeeper/hwdef-BLF_Q8.h

merged recent fsm branch updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* BLF Q8 driver layout
 
2
 * Q8 driver is the same as a D4, basically
2
3
 */
3
 
// Q8 driver is the same as a D4, basically
4
 
#include "hwdef-Emisar_D4.h"
5
4
 
6
5
// ... except the Q8 has a lighted button
7
6
#ifndef AUXLED_PIN
8
7
#define AUXLED_PIN   PB4    // pin 3
9
8
#endif
10
9
 
11
 
// average drop across diode on this hardware
12
 
#ifdef VOLTAGE_FUDGE_FACTOR
13
 
#undef VOLTAGE_FUDGE_FACTOR
14
 
#endif
 
10
// ... and slightly different calibration
 
11
#ifndef VOLTAGE_FUDGE_FACTOR
15
12
#define VOLTAGE_FUDGE_FACTOR 7  // add 0.35V
 
13
#endif
 
14
 
 
15
// Q8 driver is the same as a D4, basically
 
16
#include "hwdef-Emisar_D4.h"
16
17