Created
October 31, 2018 19:32
-
-
Save zeroflow/7768a1a1250d0c84a7634bbb3b5cdc96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// BLF Q8 config options for Anduril | |
// the button lights up | |
#define USE_INDICATOR_LED | |
// the button is visible while main LEDs are on | |
#define USE_INDICATOR_LED_WHILE_RAMPING | |
// enable blinking indicator LED while off | |
#define TICK_DURING_STANDBY | |
#ifdef RAMP_LENGTH | |
#undef RAMP_LENGTH | |
#endif | |
// ../../bin/level_calc.py 1 65 7135 1 0.8 150 | |
// ... mixed with this: | |
// ../../bin/level_calc.py 2 150 7135 4 0.33 150 FET 1 10 1500 | |
#define RAMP_LENGTH 150 | |
#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 | |
#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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,4,5,6,8,8,10,11,12,14,15,16,18,20,21,23,24,27,28,30,32,34,36,38,40,43,45,48,50,52,55,57,60,63,66,69,72,76,79,82,85,89,92,96,100,104,108,112,116,121,126,130,135,140,145,150,156,161,167,172,178,184,191,197,204 | |
#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,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 | |
#define MAX_1x7135 65 | |
#define MAX_Nx7135 MAX_LEVEL - 30 | |
#define HALFSPEED_LEVEL 14 | |
#define QUARTERSPEED_LEVEL 5 | |
// optional, makes initial turbo step-down faster so first peak isn't as hot | |
// the D4 runs very very hot, so be extra careful | |
#define THERM_HARD_TURBO_DROP | |
// stop panicking at ~30% power or ~1200 lm | |
#define THERM_FASTER_LEVEL 105 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment