-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Posting here mainly for visibility as the solution is provided below.
When running bno_test.py
, I sometimes get
Traceback (most recent call last):
File "<stdin>", line 44, in <module>
File "bno055_base.py", line 86, in <lambda>
File "bno055_base.py", line 118, in scaled_tuple
File "bno055_base.py", line 200, in _readn
OSError: [Errno 5] EIO
Which I was able to resolve by reducing the frequency, i.e.
before: i2c = machine.I2C(1, sda=machine.Pin(14), scl=machine.Pin(15))
after: i2c = machine.I2C(1, sda=machine.Pin(14), scl=machine.Pin(15), freq=5000)
Metadata
Metadata
Assignees
Labels
No labels