aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hw/wurkkos/ts25/boost/anduril.h17
-rw-r--r--hw/wurkkos/ts25/boost/hwdef.h4
2 files changed, 10 insertions, 11 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
diff --git a/hw/wurkkos/ts25/boost/hwdef.h b/hw/wurkkos/ts25/boost/hwdef.h
index 833c9f9..d645ded 100644
--- a/hw/wurkkos/ts25/boost/hwdef.h
+++ b/hw/wurkkos/ts25/boost/hwdef.h
@@ -100,8 +100,8 @@ uint8_t ch1_pwm, ch1_dsm;
// estimated / calculated values are:
// (voltage - D1) * (R2/(R2+R1) * 4096 / 1.1)
// Resistors are 330k and 100k
-#define ADC_44 3830 // raw value at 4.40V
-#define ADC_22 1840 // raw value at 2.20V
+#define ADC_44 4095 // raw value at 4.40V
+#define ADC_22 2048 // raw value at 2.20V
// this light has aux LEDs under the optic
#define AUXLED_R_PIN PIN3_bp // pin 3
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.