summaryrefslogtreecommitdiff
path: root/docs/library/pyb.ADC.rst
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-04-11 13:20:58 +1000
committerDamien George <damien.p.george@gmail.com>2018-04-11 13:21:57 +1000
commit0096a4bd005606489a5b7fdfda8e2a60a1709e13 (patch)
tree35c0f8a42db03255261bc58e164c0644269ee403 /docs/library/pyb.ADC.rst
parentde9528d12c73d658406d1b11ff44d7a39596af01 (diff)
tests/pyb/adc.py: Fix test so that it really does test ADC values.
Reading into a bytearray will truncate values to 0xff so the assertions checking read_timed() would previously always succeed. Thanks to @peterhinch for finding this problem and providing the solution.
Diffstat (limited to 'docs/library/pyb.ADC.rst')
0 files changed, 0 insertions, 0 deletions