Temperature sensor code

This is the code for the temperature sensor only