Checks if temperature data is available.
IMU.temperatureAvailable()
None.
1 on success, 0 on failure.
if (IMU.temperatureAvailable())
{
int temperature_deg = 0;
IMU.readTemperature(temperature_deg);
Serial.print("LSM6DSOX Temperature = ");
Serial.print(temperature_deg);
Serial.println(" °C");
}