diff options
author | jaseg <git@jaseg.net> | 2018-12-24 19:52:13 +0900 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2018-12-24 19:55:28 +0900 |
commit | c339384cbede3ddf3e88d27229baefd1d42daa86 (patch) | |
tree | 1ddb1f7da2afb3ddfca0463cb5fb716e8bdd9c5d /fw/main.c | |
parent | f5d7b0428db5257d62c080daa2757199c27ef784 (diff) | |
download | 8seg-c339384cbede3ddf3e88d27229baefd1d42daa86.tar.gz 8seg-c339384cbede3ddf3e88d27229baefd1d42daa86.tar.bz2 8seg-c339384cbede3ddf3e88d27229baefd1d42daa86.zip |
Pimp ADC measurements with voltage means
Diffstat (limited to 'fw/main.c')
-rw-r--r-- | fw/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ int main(void) { } set_outputs(0); - adc_configure_monitor_mode(0 /*no oversampling*/); + adc_configure_monitor_mode(0 /*no oversampling*/, 20 /*us*/, 10000/20 /*mean window size*/); uint8_t out_state = 0x01; #define DEBOUNCE 100 |