converts temperature readings between Fahrenheit and Celsius