aboutsummaryrefslogtreecommitdiff
path: root/hw/wurkkos/ts25/boost/hwdef.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/hwdef.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 'hw/wurkkos/ts25/boost/hwdef.h')
-rw-r--r--hw/wurkkos/ts25/boost/hwdef.h4
1 files changed, 2 insertions, 2 deletions
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