This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
micropython
kopia lustrzana
https://github.com/micropython/micropython
Obserwuj
1
Polub
0
Forkuj
You've already forked micropython
0
Kod
Zgłoszenia
Projekty
Wydania
Wiki
Aktywność
42587c7870
micropython
/
tests
/
pyb
/
adc.py.exp
6 wiersze
52 B
Plaintext
Czysty
Zwykły widok
Historia
Unescape
Escape
tests/pyb: Refactor pyboard tests to work on PYBv1, PYBLITEv1 and PYBD.
2019-12-13 05:43:17 +00:00
<ADC on 16 channel=
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 03:20:58 +00:00
<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