Hi all,
I have Teeny 4 with OLED display connected to SCL0 and SDA0. It works fine. Now I connected infrared temperature sensor MLX90614, GY-906 on SCL1 and SDA1. But I can see value about 1037°C what is wrong. I think I have to address it correct but I have no clue how. Below is code for MLX90614 only - but values are the same in my code with OLED.
Could you help me?
Thanks!
I have Teeny 4 with OLED display connected to SCL0 and SDA0. It works fine. Now I connected infrared temperature sensor MLX90614, GY-906 on SCL1 and SDA1. But I can see value about 1037°C what is wrong. I think I have to address it correct but I have no clue how. Below is code for MLX90614 only - but values are the same in my code with OLED.
Could you help me?
Thanks!
Code:
#include <Wire.h>
#include <Adafruit_MLX90614.h>
Adafruit_MLX90614 mlx = Adafruit_MLX90614();
void setup() {
Serial.begin(9600);
Serial.println("Adafruit MLX90614 test");
mlx.begin();
}
void loop() {
Serial.print("Ambient = "); Serial.print(mlx.readAmbientTempC());
Serial.print("*C\tObject = "); Serial.print(mlx.readObjectTempC()); Serial.println("*C");
Serial.println();
delay(500);
}