Tinkerkit Thermistor project

I'm creating tinkerkit project with thermistor and led output and want to get a code that will allow me to write the degrees in Celsius and Fahrenheit and activate the led to light up?