aboutsummaryrefslogtreecommitdiff
path: root/hwdef-Mateminco_MF01S.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-11-25 18:41:24 -0700
committerSelene ToyKeeper2019-11-25 18:41:24 -0700
commit1ab6cd428c3b43a80ffac01f29ca0c27a438e3b1 (patch)
tree50b646d29d4b93f3fac409371f734eea3b7f5e8a /hwdef-Mateminco_MF01S.h
parentmade the button LED turn off in momentary mode, instead of staying on forever (diff)
downloadanduril-1ab6cd428c3b43a80ffac01f29ca0c27a438e3b1.tar.gz
anduril-1ab6cd428c3b43a80ffac01f29ca0c27a438e3b1.tar.bz2
anduril-1ab6cd428c3b43a80ffac01f29ca0c27a438e3b1.zip
calibrated Noctigon K1, changed voltage divider calibration values to 10-bit (was 8-bit before)
Diffstat (limited to 'hwdef-Mateminco_MF01S.h')
-rw-r--r--hwdef-Mateminco_MF01S.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hwdef-Mateminco_MF01S.h b/hwdef-Mateminco_MF01S.h
index ad6194c..03508ab 100644
--- a/hwdef-Mateminco_MF01S.h
+++ b/hwdef-Mateminco_MF01S.h
@@ -46,10 +46,10 @@
// Raw ADC readings at 4.4V and 2.2V (in-between, we assume values form a straight line)
#ifndef ADC_44
-#define ADC_44 234
+#define ADC_44 (234*4)
#endif
#ifndef ADC_22
-#define ADC_22 117
+#define ADC_22 (117*4)
#endif
#define TEMP_CHANNEL 0b00001111