Fixed temperature sensor pin, updated algorithm for LM35 temperature sensor.