aboutsummaryrefslogtreecommitdiff
path: root/hw/wurkkos/ts25/boost/anduril.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2025-06-04 01:03:17 -0600
committerSelene ToyKeeper2025-06-04 01:03:17 -0600
commit815b27067cd1ee5c47fccc14dd7129fe8ddc564b (patch)
tree333a8720157d137a20d563fb20e9dc3ab9d8bbd2 /hw/wurkkos/ts25/boost/anduril.h
parentMerge branch 'trunk' into wurkkos-ts25-boost (diff)
downloadanduril-815b27067cd1ee5c47fccc14dd7129fe8ddc564b.tar.gz
anduril-815b27067cd1ee5c47fccc14dd7129fe8ddc564b.tar.bz2
anduril-815b27067cd1ee5c47fccc14dd7129fe8ddc564b.zip
wurkkos ts25-boost: calibrated for 20250210 prototype
- changed from RGB button to RGB front aux - complete recalibration of voltage sensor - had to change party strobe timing to make it work again - still couldn't fix moon, it's flickery AF no matter what I do
Diffstat (limited to '')
-rw-r--r--hw/wurkkos/ts25/boost/anduril.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/hw/wurkkos/ts25/boost/anduril.h b/hw/wurkkos/ts25/boost/anduril.h
index f1c6868..c4541d4 100644
--- a/hw/wurkkos/ts25/boost/anduril.h
+++ b/hw/wurkkos/ts25/boost/anduril.h
@@ -10,16 +10,15 @@
#define USE_AUX_RGB_LEDS
// don't turn on the aux LEDs while main LEDs are on
-//#ifdef USE_INDICATOR_LED_WHILE_RAMPING
-//#undef USE_INDICATOR_LED_WHILE_RAMPING
-//#endif
+#ifdef USE_INDICATOR_LED_WHILE_RAMPING
+#undef USE_INDICATOR_LED_WHILE_RAMPING
+#endif
+// (nope, 20250210 prototype has front aux instead of RGB button)
// show real-time battery status on RGB button
// when main LEDs are bright enough to overpower the front aux
-#define USE_INDICATOR_LED_WHILE_RAMPING
-#define USE_AUX_RGB_LEDS_WHILE_ON 20
-
+//#define USE_INDICATOR_LED_WHILE_RAMPING
+//#define USE_AUX_RGB_LEDS_WHILE_ON 20
-#define VOLTAGE_FUDGE_FACTOR 5 // add 0.25V, not 0.35V
#define RAMP_SIZE 150
@@ -64,8 +63,8 @@
// blink numbers on the aux LEDs by default
//#define DEFAULT_BLINK_CHANNEL CM_AUXWHT
-// slow down party strobe; this driver can't pulse for 2ms or less
-#define PARTY_STROBE_ONTIME 1
+// slow down party strobe; this driver can't pulse for less than 2ms
+#define PARTY_STROBE_ONTIME 2
//#define STROBE_OFF_LEVEL 1 // keep the regulator chip on between pulses
// use aux red + aux blue for police strobe