I have an issue connecting the MLX90614 to the Adafruit Circuit Playground Express. I have attached my code below. None of my flags were triggered, so I assume the program simply does not work (but does compile).
#include <Wire.h>
#include <Adafruit_MLX90614.h>
#include <Adafruit_CircuitPlayground.h>
Adafruit_MLX90614 mlx = Adafruit_MLX90614();
float temp;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
CircuitPlayground.begin();
Serial.println("Connecting");
mlx.begin();
Serial.println("Starting");
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("Reading...");
temp = mlx.readObjectTempC();
Serial.println(temp);
}
The MLX90614 is connected normally, as it is the only sensor being used. I'm not sure what the issue is since the MLX90614 worked perfectly fine with my Uno and Wemos boards.