M5Bala icon indicating copy to clipboard operation
M5Bala copied to clipboard

Error in MicroPython example

Open CH3COOOH opened this issue 6 years ago • 4 comments

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

CH3COOOH avatar Oct 03 '18 13:10 CH3COOOH

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)) ........

sancotec avatar Dec 09 '18 08:12 sancotec

@SiOnOu @sancotec

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

sio-funmatsu avatar Mar 18 '19 06:03 sio-funmatsu

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

key avatar May 05 '19 12:05 key

Same here

taxpon avatar Aug 04 '19 02:08 taxpon