Code for circuit 10 - Temperature Sensor