Skip to content

Not initing on ESP32-S2 #6

Closed
Closed
@caternuson

Description

@caternuson

Some discussion and possible solution here:
https://forums.adafruit.com/viewtopic.php?f=60&t=178596

Can demonstrate issue by simply trying to setup an LTR:

Adafruit CircuitPython 6.2.0 on 2021-04-05; FeatherS2 with ESP32S2
>>> import board
>>> import adafruit_ltr390
>>> i2c = board.I2C()
>>> ltr = adafruit_ltr390.LTR390(i2c)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "adafruit_ltr390.py", line 254, in __init__
  File "adafruit_ltr390.py", line 260, in initialize
  File "adafruit_ltr390.py", line 283, in _reset
  File "adafruit_register/i2c_bit.py", line 43, in __get__
  File "adafruit_register/i2c_bit.py", line 43, in __get__
OSError: [Errno 5] Input/output error
>>>  

Sanity check with QT Py M0:

Adafruit CircuitPython 6.2.0 on 2021-04-05; Adafruit QT Py M0 Haxpress with samd21e18
>>> import board
>>> import adafruit_ltr390
>>> i2c = board.I2C()
>>> ltr = adafruit_ltr390.LTR390(i2c)
>>> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions