diff options
author | jaseg <git@jaseg.net> | 2019-01-09 22:57:11 +0900 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2019-01-09 22:57:11 +0900 |
commit | 5da6e46739689cab3827ca2c81e1651eeaf59d49 (patch) | |
tree | 8af5b3ed84807ce8e1741882690320393a01fa1e /fw/main.c | |
parent | d3edf27c8933253fd7e3656fdead0f793a9a1195 (diff) | |
download | 8seg-5da6e46739689cab3827ca2c81e1651eeaf59d49.tar.gz 8seg-5da6e46739689cab3827ca2c81e1651eeaf59d49.tar.bz2 8seg-5da6e46739689cab3827ca2c81e1651eeaf59d49.zip |
Fix up scope mode
Diffstat (limited to 'fw/main.c')
-rw-r--r-- | fw/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -69,7 +69,9 @@ int main(void) { } set_outputs(0); - adc_configure_monitor_mode(0 /*no oversampling*/, 20 /*us*/, 10000/20 /*mean window size*/); + /* FIXME DEBUG */ +// adc_configure_monitor_mode(0 /*no oversampling*/, 20 /*us*/, 10000/20 /*mean window size*/); + adc_configure_scope_mode(MASK_VMEAS_A, 10000); uint8_t out_state = 0x01; #define DEBOUNCE 100 |