This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
You've already forked circuitpython
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
ed34d52efd
circuitpython
/
tests
/
pyb
/
adc.py.exp
6 lines
55 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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-10 23:20:58 -04:00
<ADC on 16 channel=16>
<ADC on 17 channel=17>
stmhal: Fix adc.read_timed so buffer store respects element size. Addresses issue #1154.
2015-03-13 18:11:50 -04:00
50
25
30