Reading the temperature in a sys tick callback