This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
f738996164
circuitpython
/
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 06:06:12 -04: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 11:43:27 -04:00
[]
[76]
True
b'\x01'
Reference in New Issue
Copy Permalink