Which code or library did you use for the MLX90614? I have this sensor and the same NHduino but it doesn't work with the libraries I've used. So I don't know if it's my NHduino or if I have to change the code because I'm not working with a real Arduino.
Which code or library did you use for the MLX90614?
ReplyDeleteI have this sensor and the same NHduino but it doesn't work with the libraries I've used. So I don't know if it's my NHduino or if I have to change the code because I'm not working with a real Arduino.
Sorry for the delay. My settings were such that I didn't receive comment notifications.
ReplyDeleteI use Adafruit-library for MLX90614.
Code is something like this:
#include
Adafruit_MLX90614 mlx = Adafruit_MLX90614();
t1 = mlx.readAmbientTempC()
t2 = mlx.readObjectTempC()
Included header file should read Adafruit_MLX90614.h
ReplyDelete