aboutsummaryrefslogtreecommitdiff
path: root/fw/main.c
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2019-01-09 22:57:11 +0900
committerjaseg <git@jaseg.net>2019-01-09 22:57:11 +0900
commit5da6e46739689cab3827ca2c81e1651eeaf59d49 (patch)
tree8af5b3ed84807ce8e1741882690320393a01fa1e /fw/main.c
parentd3edf27c8933253fd7e3656fdead0f793a9a1195 (diff)
download8seg-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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fw/main.c b/fw/main.c
index 0f34f7e..d4bf44d 100644
--- a/fw/main.c
+++ b/fw/main.c
@@ -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