From ff9eedb56927387201f96f90bf3d39b99f86e283 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sun, 22 Mar 2020 01:25:55 -0600 Subject: apparently the D1 can also be purchased with a D4v2 driver... so it's basically a D1v2 --- spaghetti-monster/anduril/cfg-emisar-d1v2.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 spaghetti-monster/anduril/cfg-emisar-d1v2.h (limited to 'spaghetti-monster') diff --git a/spaghetti-monster/anduril/cfg-emisar-d1v2.h b/spaghetti-monster/anduril/cfg-emisar-d1v2.h new file mode 100644 index 0000000..63cb0e9 --- /dev/null +++ b/spaghetti-monster/anduril/cfg-emisar-d1v2.h @@ -0,0 +1,17 @@ +// Emisar D1v2 config options for Anduril (D1 w/ D4v2 driver) +// ATTINY: 1634 +// same as Emisar D4v2, mostly +#include "cfg-emisar-d4v2.h" + +// there are no aux LED on a D1 +#undef USE_AUX_RGB_LEDS +// ... and no button LED +#undef USE_BUTTON_LED +// no aux LEDs means no need for sleep ticks +#undef TICK_DURING_STANDBY + +// stop panicking at ~75% power or ~1000 lm (D1 has a decent power-to-thermal-mass ratio) +#ifdef THERM_FASTER_LEVEL +#undef THERM_FASTER_LEVEL +#endif +#define THERM_FASTER_LEVEL (RAMP_SIZE*9/10) // throttle back faster when high -- cgit v1.2.3