Trying to read it with: https://github.com/adafruit/micropython ... it-tsl2561
My simple readout script is
Code: Select all
import tsl2561
from machine import I2C, Pin
i2c = I2C(scl=Pin(22), sda=Pin(21))
sensor = tsl2561.TSL2561(i2c)
print(sensor.read())
Code: Select all
%Run sensor_tls2561.py
Traceback (most recent call last):
File "/home/sensor_tls2561.py", line 5, in <module>
File "tsl2561.py", line 47, in __init__
File "tsl2561.py", line 104, in sensor_id
File "tsl2561.py", line 66, in _register8
OSError: [Errno 19] ENODEV