Reads the temperature from the sensor (Celsius).
IMU.readTemperature()
None.
The temperature in Celsius.
if (IMU.temperatureAvailable())
{
int temperature_deg = 0;
IMU.readTemperature(temperature_deg);
Serial.print("LSM6DSOX Temperature = ");
Serial.print(temperature_deg);
Serial.println(" °C");
}