aboutsummaryrefslogtreecommitdiff
path: root/hw/wurkkos/ts25/boost
diff options
context:
space:
mode:
authorSelene ToyKeeper2024-03-12 14:44:41 -0600
committerSelene ToyKeeper2024-03-12 14:44:41 -0600
commitf9b23974dc36cd06555b032a23e3d96a3bdc3c4d (patch)
treedb7029473de373531edc0537ccd1ece221e6c6b2 /hw/wurkkos/ts25/boost
parentwurkkos-ts25-boost: calibrated the battery voltage measurements (diff)
downloadanduril-f9b23974dc36cd06555b032a23e3d96a3bdc3c4d.tar.gz
anduril-f9b23974dc36cd06555b032a23e3d96a3bdc3c4d.tar.bz2
anduril-f9b23974dc36cd06555b032a23e3d96a3bdc3c4d.zip
ts25-boost: reduced visible PWM, made party strobe less blurry
Diffstat (limited to 'hw/wurkkos/ts25/boost')
-rw-r--r--hw/wurkkos/ts25/boost/anduril.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/wurkkos/ts25/boost/anduril.h b/hw/wurkkos/ts25/boost/anduril.h
index b2fae56..1f19a9b 100644
--- a/hw/wurkkos/ts25/boost/anduril.h
+++ b/hw/wurkkos/ts25/boost/anduril.h
@@ -26,10 +26,9 @@
#define DEFAULT_LEVEL 70
#define MAX_1x7135 150
// moon at 1/4th speed for max runtime
-// the rest at half speed, to reduce ripple
-// but not full speed because 8 kHz PWM is enough for this circuit
-// and speed changes make a big visible bump
-#define HALFSPEED_LEVEL 255
+// the rest at full speed, to reduce PWM
+// (speed changes make a big visible bump because PWM)
+#define HALFSPEED_LEVEL 2
#define QUARTERSPEED_LEVEL 2
#define RAMP_SMOOTH_FLOOR 1
@@ -61,7 +60,8 @@
//#define DEFAULT_BLINK_CHANNEL CM_AUXWHT
// slow down party strobe; this driver can't pulse for 2ms or less
-#define PARTY_STROBE_ONTIME 3
+#define PARTY_STROBE_ONTIME 1
+//#define STROBE_OFF_LEVEL 1 // keep the regulator chip on between pulses
// use aux red + aux blue for police strobe
#define USE_POLICE_COLOR_STROBE_MODE