Modified Temp. Measuring Code

To wait until got clear register signal!