Changed temperature code

The new code is faster & work with the Serial