~toykeeper/flashlight-firmware/trunk

« back to all changes in this revision

Viewing changes to ToyKeeper/hwdef-FF_PL47.h

  • Committer: Selene Scriven
  • Date: 2018-07-05 10:22:48 UTC
  • mto: This revision was merged to the branch mainline in revision 209.
  • Revision ID: bzr@toykeeper.net-20180705102248-4157s7ly7ascx0w3
Forked Bistro as a base for Dragon.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef HWDEF_FF_PL47_H
2
 
#define HWDEF_FF_PL47_H
3
 
 
4
 
/* Fireflies PL47 driver layout
5
 
 * same as a D4S, basically, except ...
6
 
 */
7
 
 
8
 
// ... the PL47 has aux LEDs on pin 7
9
 
#ifndef AUXLED_PIN
10
 
#define AUXLED_PIN   PB2    // pin 7
11
 
#endif
12
 
 
13
 
// ... and switch LEDs on pin 3
14
 
#ifndef AUXLED2_PIN
15
 
#define AUXLED2_PIN   PB4    // pin 3
16
 
#endif
17
 
 
18
 
// ... and slightly different calibration
19
 
#ifndef VOLTAGE_FUDGE_FACTOR
20
 
#define VOLTAGE_FUDGE_FACTOR 7  // add 0.35V
21
 
#endif
22
 
 
23
 
#include "hwdef-Emisar_D4S.h"
24
 
#undef FSM_EMISAR_D4S_DRIVER
25
 
#undef FSM_EMISAR_D4_DRIVER
26
 
 
27
 
#endif