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') -
@kobeyu
look here
https://forum.pycom.io/post/3494 -
@livius Thanks for reply, It works!
-
@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 -
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')
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login