aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hwdef-Noctigon_KR4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hwdef-Noctigon_KR4.h b/hwdef-Noctigon_KR4.h
index 98a0a5f..f624e64 100644
--- a/hwdef-Noctigon_KR4.h
+++ b/hwdef-Noctigon_KR4.h
@@ -53,7 +53,7 @@
// the button tends to short out the voltage divider,
// so ignore voltage while the button is being held
-#define NO_LVP_WHILE_BUTTON_PRESSED
+//#define NO_LVP_WHILE_BUTTON_PRESSED
#define PWM1_PIN PB3 // pin 16, Opamp reference
@@ -79,7 +79,7 @@
// divided by ...
// REFS[1:0] = 1, 0 for internal 1.1V reference
// other bits reserved
-#define ADMUX_VOLTAGE_DIVIDER 0b10000111
+#define ADMUX_VOLTAGE_DIVIDER 0b10000110
#define ADC_PRSCL 0x06 // clk/64
// TODO: calibrate this
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.