Closed caternuson closed 2 years ago
Potential fix for #11.
Tried various ways to "reset" the I2C bus, but none were successful. So did something simple instead. This PR is not an elegant solution, but does resolve issue.
Adafruit CircuitPython 7.0.0 on 2021-09-20; Adafruit Feather RP2040 with rp2040 >>> import board >>> import adafruit_ltr390 >>> ltr = adafruit_ltr390.LTR390(board.I2C()) >>> ltr.light 631 >>> ltr.light 7 >>>
🤷♂️
:shrug:
Potential fix for #11.
Tried various ways to "reset" the I2C bus, but none were successful. So did something simple instead. This PR is not an elegant solution, but does resolve issue.