1
// Fireflies ROT66 (14x7135) config options for Anduril
3
// the button lights up
4
#define USE_INDICATOR_LED
5
// the button is visible while main LEDs are on
6
#define USE_INDICATOR_LED_WHILE_RAMPING
7
// enable blinking indicator LED while off?
8
//#define TICK_DURING_STANDBY
10
// If TICK_DURING_STANDBY is enabled...
12
// lockout: blinking (3)
13
//#define INDICATOR_LED_DEFAULT_MODE ((3<<2) + 2)
15
// ... or if TICK_DURING_STANDBY is turned off:
18
#define INDICATOR_LED_DEFAULT_MODE ((0<<2) + 2)
25
// driver is a FET+N+1,
26
// where N=6 for the 219b version,
27
// or N=13 for the XP-L HI version (this version)
28
// calculated to get transition points at level 65 and 125
29
#define RAMP_LENGTH 150
30
// first 65 steps copied from FW3A
31
#define PWM1_LEVELS 1,1,2,2,3,3,4,4,5,6,7,8,9,10,12,13,14,15,17,19,20,22,24,26,29,31,34,36,39,42,45,48,51,55,59,62,66,70,75,79,84,89,93,99,104,110,115,121,127,134,140,147,154,161,168,176,184,192,200,209,217,226,236,245,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0
32
// remaining steps from this command:
33
// level_calc.py ninth 3 150 7135 1 1.4 110.1 7135 15 1 1644.16 FET 1 10 4500
34
#define PWM2_LEVELS 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,17,18,19,20,21,22,23,25,26,27,29,30,32,34,35,37,39,41,43,46,48,50,53,55,58,61,64,67,70,73,77,81,84,88,92,97,101,106,110,115,120,126,131,137,143,149,156,162,169,177,184,192,200,208,217,226,235,245,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0
35
#define PWM3_LEVELS 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,13,21,28,35,43,51,60,68,77,87,96,106,117,127,138,150,161,173,186,199,212,226,240,255
37
#define MAX_Nx7135 125
38
#define HALFSPEED_LEVEL 14
39
#define QUARTERSPEED_LEVEL 8
41
// regulate down faster when the FET is active, slower otherwise
42
#define THERM_FASTER_LEVEL 130 // throttle back faster when high
44
// play it safe, don't try to regulate above the recommended safe level
45
#define THERM_HARD_TURBO_DROP
48
#undef BLINK_AT_CHANNEL_BOUNDARIES
49
#undef BLINK_AT_RAMP_CEILING