diff options
| author | Selene ToyKeeper | 2019-11-25 18:41:24 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2019-11-25 18:41:24 -0700 |
| commit | 1ab6cd428c3b43a80ffac01f29ca0c27a438e3b1 (patch) | |
| tree | 50b646d29d4b93f3fac409371f734eea3b7f5e8a /hwdef-Emisar_D1Sv2.h | |
| parent | made the button LED turn off in momentary mode, instead of staying on forever (diff) | |
| download | anduril-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-Emisar_D1Sv2.h')
| -rw-r--r-- | hwdef-Emisar_D1Sv2.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hwdef-Emisar_D1Sv2.h b/hwdef-Emisar_D1Sv2.h index 856643b..d76d701 100644 --- a/hwdef-Emisar_D1Sv2.h +++ b/hwdef-Emisar_D1Sv2.h @@ -78,10 +78,12 @@ // (voltage - D1) * (R2/(R2+R1) * 256 / 1.1) // D1, R1, R2 = 0, 330, 100 #ifndef ADC_44 -#define ADC_44 235 +//#define ADC_44 981 // raw value at 4.40V +#define ADC_44 967 // manually tweaked so 4.16V will blink out 4.2 #endif #ifndef ADC_22 -#define ADC_22 116 +//#define ADC_22 489 // raw value at 2.20V +#define ADC_22 482 // manually tweaked so 4.16V will blink out 4.2 #endif #define TEMP_CHANNEL 0b00001111 |
