MicroPython v1.22.2 on 2024-02-22; Raspberry Pi Pico W with RP2040
Type "help()" for more information.
import busio
import board
import adafruit_ltr390
i2c = busio.I2C(board.GP1, board.GP0)
ltr = adafruit_ltr390.LTR390(i2c)
print("UVI:", ltr.uvi, "\t\tAmbient Light:", ltr.lux)
Traceback (most recent call last):
File "", line 1, in
File "/lib/adafruit_ltr390.py", line 420, in uvi
File "/lib/adafruit_ltr390.py", line 353, in uvs
File "/lib/adafruit_ltr390.py", line 81, in get
TypeError: function doesn't take keyword arguments
MicroPython v1.22.2 on 2024-02-22; Raspberry Pi Pico W with RP2040 Type "help()" for more information.
Seems to be complaining about:
read bytes into buffer at correct alignment