-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hey, I tryed to use my mlx90614 but i had some issues by using it. Maybe someone can help?
So i tryed this code from you:
import mlx90614
from machine import I2C, Pin
i2c = I2C(scl=Pin(5), sda=Pin(4))
sensor = mlx90614.MLX90614(i2c)
print(sensor.read_ambient_temp())
print(sensor.read_object_temp())
if sensor.dual_zone:
print(sensor.object2_temp)
but i got this Output:
Traceback (most recent call last):
File "", line 4, in
TypeError: 'id' argument required
So i added an id = 0 and then i got:
Traceback (most recent call last):
File "", line 5, in
File "mlx90614.py", line 76, in init
OSError: [Errno 5] EIO
And i was not able to fix this until now. I would be thankful if someone would help me :)
Metadata
Metadata
Assignees
Labels
No labels