summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/micropython.rst
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-04-18 13:16:05 +1000
committerDamien George <damien.p.george@gmail.com>2017-04-18 13:16:05 +1000
commit8f205c2c9bed1f3f167f2b0a5abba1e676a6aa01 (patch)
tree0dbac740180407882724423a4f544ec15a04a003 /docs/library/micropython.rst
parentfabaa6143745cf09928dfc13367ddc91e0eb9ad2 (diff)
downloadmicropython-8f205c2c9bed1f3f167f2b0a5abba1e676a6aa01.tar.gz
micropython-8f205c2c9bed1f3f167f2b0a5abba1e676a6aa01.zip
cc3200/mods/pybi2c: Make machine.I2C constructor/init conform to HW API.
This is a user-facing change to the cc3200's API, to make it conform to the new machine hardware API. The changes are: - change I2C constructor to: I2C(id=0, *, freq=100000, scl=None, sda=None) - change I2C init to: init(*, freq, scl, sda) - removal of machine.I2C.MASTER constant - I2C str/repr no longer prints I2C.MASTER To update existing code it should be enough to just remove the I2C.MASTER constant from contructor/init for I2C.
Diffstat (limited to 'docs/library/micropython.rst')
0 files changed, 0 insertions, 0 deletions