Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in MicroPython example #1

Open
CH3COOOH opened this issue Oct 3, 2018 · 4 comments
Open

Error in MicroPython example #1

CH3COOOH opened this issue Oct 3, 2018 · 4 comments

Comments

@CH3COOOH
Copy link

CH3COOOH commented Oct 3, 2018

I copied the three .py files into my m5stack and reboot the device. It seemed that there was something wrong in "m5bala.py", line 141, which was lack of parameter. I fixed it, but then I faced the problem that I could not solve. It was shown in the PuTTY:
...
File "m5bala.py", line 85, in read_encoder
OSError: I2C bus error (263)
And once I changed the firmware from M5Cloud to M5GO and repeated the former steps, new error occurred:
...
File "m5bala.py", line 26, in init
OSError: I2C bus already used

@sancotec
Copy link

sancotec commented Dec 9, 2018

I have the same problem using M5Flow and trying to move Bala.
Any idea???? This is the python code generated by M5Flow
.....
from m5stack import *
from m5ui import *
from m5bala import M5Bala
import i2c_bus
clear_bg(0x111111)

rgb = RGB_Bar()
m5bala = M5Bala(i2c_bus.get(i2c_bus.M_BUS))
........

@sio-funmatsu
Copy link
Contributor

@SiOnOu @sancotec

Sorry for my late reply...
Please try to reset M5Stack or M5Go.

@key
Copy link

key commented May 5, 2019

I have same issue too. Does anyone solved this?
@sio-funmatsu I tried restart, but not working correctly...

@taxpon
Copy link

taxpon commented Aug 4, 2019

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants