Temp. meas. in interval

Ok,thanks, I connected 12V 2A power supply and It works.
Can you help me with code now? If I Want send temperature I have to reset Arduino but i want do it in code.
Thank you