aboutsummaryrefslogtreecommitdiff
path: root/hwdef-TK_Saber.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-03-13 18:04:43 -0600
committerSelene ToyKeeper2020-03-13 18:04:43 -0600
commit51aae811654a3b73fa10ab449e22a11c858aa2d1 (patch)
tree8bec4aa2d09e834918a9d7a3a89e134e62d9cf56 /hwdef-TK_Saber.h
parentwent back to continuous lowpass because it had the best noise reduction (diff)
downloadanduril-51aae811654a3b73fa10ab449e22a11c858aa2d1.tar.gz
anduril-51aae811654a3b73fa10ab449e22a11c858aa2d1.tar.bz2
anduril-51aae811654a3b73fa10ab449e22a11c858aa2d1.zip
went back to slower clk/128 ADC timing
Diffstat (limited to 'hwdef-TK_Saber.h')
-rw-r--r--hwdef-TK_Saber.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdef-TK_Saber.h b/hwdef-TK_Saber.h
index 3f49d30..9458398 100644
--- a/hwdef-TK_Saber.h
+++ b/hwdef-TK_Saber.h
@@ -23,7 +23,7 @@
#define SWITCH_PIN PB2 // pin 7
#define SWITCH_PCINT PCINT2 // pin 7 pin change interrupt
-#define ADC_PRSCL 0x06 // clk/64 (no need to be super fast)
+#define ADC_PRSCL 0x07 // clk/128
// average drop across diode on this hardware
#define VOLTAGE_FUDGE_FACTOR 5 // add 0.25V