Skip to content

OSError: I2C bus error #1

Description

@arthurlutz
    from machine import I2C
    i2c = I2C(0, I2C.MASTER)#, baudrate=100000)
    adxl345 = ADXL345(i2c)
MicroPython v1.8.6-724-g2b9ed601 on 2017-07-28; WiPy with ESP32
Type "help()" for more information.
>>>
>>> Running adxl345.py

>>>
>>>
>>>
>>>
Start
Traceback (most recent call last):
  File "<stdin>", line 111, in <module>
  File "<stdin>", line 63, in __init__
  File "<stdin>", line 71, in setBandwidthRate
OSError: I2C bus error
>```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions