aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-11-10 01:13:42 -0700
committerSelene ToyKeeper2018-11-10 01:13:42 -0700
commit387cb35e8f9e2ca74cfc019d06a0051bc7b11aea (patch)
tree52cae29c8076a128cde95348d1164d2e94bcff72 /spaghetti-monster
parentMade it easier to override hwdef-*.h values in cfg-*.h files. (diff)
downloadanduril-387cb35e8f9e2ca74cfc019d06a0051bc7b11aea.tar.gz
anduril-387cb35e8f9e2ca74cfc019d06a0051bc7b11aea.tar.bz2
anduril-387cb35e8f9e2ca74cfc019d06a0051bc7b11aea.zip
calibrated Sofirn SP36 config
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/cfg-sofirn-sp36.h28
1 files changed, 23 insertions, 5 deletions
diff --git a/spaghetti-monster/anduril/cfg-sofirn-sp36.h b/spaghetti-monster/anduril/cfg-sofirn-sp36.h
index 11e3735..f6f7447 100644
--- a/spaghetti-monster/anduril/cfg-sofirn-sp36.h
+++ b/spaghetti-monster/anduril/cfg-sofirn-sp36.h
@@ -1,16 +1,34 @@
// Sofirn SP36 (small Q8) config options for Anduril
+// voltage readings were a little high with the Q8 value
+#define VOLTAGE_FUDGE_FACTOR 5 // add 0.25V, not 0.35V
+
#define FSM_BLF_Q8_DRIVER
#include "cfg-blf-q8.h"
-// stop panicking at ~50% power or ~2000 lm
+// the high button LED mode on this light uses too much power
+// off mode: low (1)
+// lockout: blinking (3)
+#define INDICATOR_LED_DEFAULT_MODE ((3<<2) + 1)
+
+// don't blink during the ramp; the button LED brightness is sufficient
+// to indicate which power channel(s) are being used
+#ifdef BLINK_AT_CHANNEL_BOUNDARIES
+#undef BLINK_AT_CHANNEL_BOUNDARIES
+#endif
+#ifdef BLINK_AT_RAMP_CEILING
+#undef BLINK_AT_RAMP_CEILING
+#endif
+
+// stop panicking at ~60% power or ~3000 lm
#ifdef THERM_FASTER_LEVEL
#undef THERM_FASTER_LEVEL
#endif
-#define THERM_FASTER_LEVEL 125
+#define THERM_FASTER_LEVEL 130
// be extra-careful at high levels
-#ifndef THERM_HARD_TURBO_DROP
-#define THERM_HARD_TURBO_DROP
-#endif
+// (or not... this host seems to heat up pretty slowly)
+//#ifndef THERM_HARD_TURBO_DROP
+//#define THERM_HARD_TURBO_DROP
+//#endif
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.