Search found 1 match
- Thu Jan 13, 2022 12:09 pm
- Forum: Drivers for External Components
- Topic: MLX90614 IR Temp Sensor Library
- Replies: 8
- Views: 62010
Re: MLX90614 IR Temp Sensor Library
Hello, I have used this code: import time import mlx90614 from machine import I2C, Pin sda=machine.Pin(2) scl=machine.Pin(3) i2c = I2C(1, sda = sda, scl = scl, freq=100000) #I2C_MLX90614 = 0x5a sensor = mlx90614.MLX90614(i2c) while True: print(sensor.read_ambient_temp(), sensor.read_object_temp()) t...