int potPin = A0; //Pin A0
Serial.begin(9600);//Set baud rate
// Read the analog value of the sensor and assign a value to Val
dat = (125 * val) >> 8; //Temperature calculation formula
Serial.print("Tep:");//The as-is output shows the Tep string for temperature
Serial.print(dat);//The output shows the value of the DAT
Serial.println("C");//The output displays the C string