aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Hart2021-08-15 22:59:49 -0500
committerGabriel Hart2021-08-15 22:59:49 -0500
commit43006f56c22a99f9635e28374a1a7ee7dbce0c7c (patch)
tree9e176e47e39f3727fab41792b7e51978b967533d
parentAdjusted Sofirn SP10 ramp values (diff)
downloadanduril-43006f56c22a99f9635e28374a1a7ee7dbce0c7c.tar.gz
anduril-43006f56c22a99f9635e28374a1a7ee7dbce0c7c.tar.bz2
anduril-43006f56c22a99f9635e28374a1a7ee7dbce0c7c.zip
Adjusted more Sofirn SP10 config values (party strobe, candle amp, max_1x7135)
-rw-r--r--spaghetti-monster/anduril/cfg-sofirn-sp10-pro.h10
-rw-r--r--spaghetti-monster/anduril/version.h2
2 files changed, 9 insertions, 3 deletions
diff --git a/spaghetti-monster/anduril/cfg-sofirn-sp10-pro.h b/spaghetti-monster/anduril/cfg-sofirn-sp10-pro.h
index 3e85aca..a0bea0a 100644
--- a/spaghetti-monster/anduril/cfg-sofirn-sp10-pro.h
+++ b/spaghetti-monster/anduril/cfg-sofirn-sp10-pro.h
@@ -12,7 +12,7 @@
#define PWM1_LEVELS 255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
#define PWM2_LEVELS 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,6,6,6,7,7,7,8,8,8,9,9,10,10,10,11,11,12,12,13,14,14,15,16,16,17,18,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,37,38,40,41,43,45,46,48,50,52,54,56,58,60,63,65,67,70,73,75,78,81,84,87,90,93,97,100,104,107,111,115,119,123,128,132,137,141,146,151,156,162,167,173,179,185,191,197,204,210,217,224,232,239,247,255
-#define MAX_1x7135 13
+#define MAX_1x7135 80
#define HALFSPEED_LEVEL 14
#define QUARTERSPEED_LEVEL 6
@@ -42,4 +42,10 @@
#define RAMP_STYLE 1 // 0 = smooth, 1 = stepped
// stop panicking at ~30% power
-#define THERM_FASTER_LEVEL 105 \ No newline at end of file
+#define THERM_FASTER_LEVEL 105
+
+// slow down party strobe; this driver can't pulse for too short a time
+#define PARTY_STROBE_ONTIME 6
+
+// the default of 26 looks a bit flat, so increase it
+#define CANDLE_AMPLITUDE 40 \ No newline at end of file
diff --git a/spaghetti-monster/anduril/version.h b/spaghetti-monster/anduril/version.h
index d161ed5..f0c08a5 100644
--- a/spaghetti-monster/anduril/version.h
+++ b/spaghetti-monster/anduril/version.h
@@ -1 +1 @@
-#define VERSION_NUMBER "20210814"
+#define VERSION_NUMBER "20210815"