add temperature sensor code.