M5Bala
M5Bala copied to clipboard
Error in MicroPython example
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
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)) ........
@SiOnOu @sancotec
Sorry for my late reply... Please try to reset M5Stack or M5Go.
I have same issue too. Does anyone solved this? @sio-funmatsu I tried restart, but not working correctly...
Same here