This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
b26046aca2
micropython
/
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-11 04:20:58 +01: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 22:11:50 +00:00
50
25
30