Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/tests/pyb/adc.py.exp

6 lines
55 B
Plaintext
Raw Normal View History

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:20:58 +10: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
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 102ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API