micropython/tests/pyb/adc.py.exp
Damien George 0096a4bd00 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.
2018-04-11 13:21:57 +10:00

6 lines
55 B
Plaintext

<ADC on 16 channel=16>
<ADC on 17 channel=17>
50
25
30