summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-08-23 11:22:10 -0700
committerKeith Packard <keithp@keithp.com>2013-08-25 16:20:06 -0700
commit1aed2eb5c7d477a2f3d4fada22980041aba97cb8 (patch)
tree11f40bede11ff372022ce427a6eadb722531128a /src/test
parent4fe47adc7aca54951a50b1c1ae95cb02e46f8d3d (diff)
altos/lpc: Stop using burst mode for LPC ADC
Burst mode doesn't stop after one round of conversions, so we end up getting incorrect values in whatever the last conversion register is. Just use single conversions and take an interrupt per channel. Also, slow down the ADC so that our values are more stable -- just need to make sure we get the whole conversion sequence done 100 times a second. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions