diff options
| author | Selene ToyKeeper | 2020-01-30 01:18:56 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2020-01-30 01:18:56 -0700 |
| commit | f61beefe38f5118dc816d5ba28d7e41001cfe703 (patch) | |
| tree | d3de61107b29f49f4071effc89a2484de0454eec /hwdef-Emisar_D4Sv2.h | |
| parent | increased effective ADC resolution by switching from continuous-lowpass to su... (diff) | |
| download | anduril-f61beefe38f5118dc816d5ba28d7e41001cfe703.tar.gz anduril-f61beefe38f5118dc816d5ba28d7e41001cfe703.tar.bz2 anduril-f61beefe38f5118dc816d5ba28d7e41001cfe703.zip | |
switched to a pseudo-rolling-average method to reduce noise, set prescaler back to 64
Diffstat (limited to 'hwdef-Emisar_D4Sv2.h')
| -rw-r--r-- | hwdef-Emisar_D4Sv2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdef-Emisar_D4Sv2.h b/hwdef-Emisar_D4Sv2.h index 7c3fe86..da3a0ca 100644 --- a/hwdef-Emisar_D4Sv2.h +++ b/hwdef-Emisar_D4Sv2.h @@ -52,7 +52,7 @@ #define PWM3_LVL OCR1B // OCR1B is the output compare register for PB1 -#define ADC_PRSCL 0x07 // clk/128 +#define ADC_PRSCL 0x06 // clk/64 // average drop across diode on this hardware #ifndef VOLTAGE_FUDGE_FACTOR |
