Can't import I2C module
-
hi guys
does any one has the same problem?from machine import I2C
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name I2Cos version:
(sysname='ESP32', nodename='ESP32', release='0.9.0b', version='8785822 on 2016-10-06', machine='LoPy with ESP32')
-
OK, Thanks~
update:
It works at version "1.5.0.b2"os.uname()
(sysname='LoPy', nodename='LoPy', release='1.5.0.b2', version='v1.8.6-412-gf55ba50 on 2017-01-28', machine='LoPy with ESP32')
-
@kobeyu
but you must wait for fix in current release about i2c
look here:
https://forum.pycom.io/topic/564/new-firmware-release-1-5-0-b1-and-sipy-sigfox-certification-completed
-
@livius Thanks for reply, It works!
-
@kobeyu
look here
https://forum.pycom.io/post/3494