Skip to content

Error in MicroPython example  #1

@CH3COOOH

Description

@CH3COOOH

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions