aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/anduril/cfg-noctigon-k9.3.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-10-15 17:07:09 -0600
committerSelene ToyKeeper2020-10-15 17:07:09 -0600
commit2789e3893de182fe1bf66aa9da1ba5f93d78098b (patch)
treea5e7417f71c00b696072f756cdb8fdde0a0e96da /spaghetti-monster/anduril/cfg-noctigon-k9.3.h
parentgot K9.3 2nd LEDs working (and modified FSM to allow this sort of thing) (diff)
downloadanduril-2789e3893de182fe1bf66aa9da1ba5f93d78098b.tar.gz
anduril-2789e3893de182fe1bf66aa9da1ba5f93d78098b.tar.bz2
anduril-2789e3893de182fe1bf66aa9da1ba5f93d78098b.zip
made gradual_tick() work on K9.3 (via override), fixed strobe config,
made blink_once() more configurable (and more reliable on K9.3)
Diffstat (limited to '')
-rw-r--r--spaghetti-monster/anduril/cfg-noctigon-k9.3.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/spaghetti-monster/anduril/cfg-noctigon-k9.3.h b/spaghetti-monster/anduril/cfg-noctigon-k9.3.h
index 123dabe..e4524ec 100644
--- a/spaghetti-monster/anduril/cfg-noctigon-k9.3.h
+++ b/spaghetti-monster/anduril/cfg-noctigon-k9.3.h
@@ -5,6 +5,7 @@
// this model requires some special code
#define OVERRIDES_FILE cfg-noctigon-k9.3.c
#define OVERRIDE_SET_LEVEL
+#define OVERRIDE_GRADUAL_TICK
inline void set_level_override(uint8_t level);
@@ -66,9 +67,12 @@ inline void set_level_override(uint8_t level);
//#define THERM_NEXT_WARNING_THRESHOLD 16 // accumulate less error before adjusting
//#define THERM_RESPONSE_MAGNITUDE 128 // bigger adjustments
+// use the brightest setting for strobe
+#define STROBE_BRIGHTNESS MAX_LEVEL
// slow down party strobe; this driver can't pulse for 1ms or less
-// (only needed on no-FET build)
-//#define PARTY_STROBE_ONTIME 2
+#define PARTY_STROBE_ONTIME 2
+
+#define BLINK_ONCE_TIME 12 // longer blink, since main LEDs are slow
#define THERM_CAL_OFFSET 5