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
20f5de9b39
micropython
/
tests
/
pyb
/
i2c.py.exp
13 lines
98 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: Add tests to create valid and invalid UART, I2C, SPI, CAN busses.
2015-05-28 11:06:12 +01:00
ValueError -1
ValueError 0
I2C 1
I2C 2
ValueError 3
I2C X
I2C Y
ValueError Z
tests: Add a suite of tests specifically for the pyboard. In tests/pyb is now a suite of tests that tests the pyb module on the pyboard. They include expected output files because we can't run CPython on the pyboard to compare against. run-tests script has now been updated to allow pyboard tests to be run. Just pass the option --pyboard. This runs all basic, float and pyb tests. Note that float/math-fun.py currently fails because not all math functions are implemented in stmhal/.
2014-05-03 16:43:27 +01:00
[]
[76]
True
b'\x01'