Calc the temperature in the temperature example

This PR updates the example to report the actual calculated temperature instead of the sensor reading.