Hi @@roadrunner84,
Sorry for the delay getting back!
Thanks for the pointers about the float.
I've tried the code, had to change the ints to double as there was an error, and getting the following output - I've got a digital themomethere here and it is showing 21c.
double deg, deg100;
char diet[8];
deg100 = modf(tmp006.readDieTempC(), °) * 100;
sprintf(diet, "%u.%02u", deg, deg100);
Serial.print("\r\n\DIET ");Serial.print(diet);
The error with the int was as follows:
error: cannot convert 'int*' to 'double*' for argument '2' to 'double modf(double, double*)'
Thanks