Thanks, but really the credit for the coding goes to Darrel.

I'm still a rookie in PBP, and it's taking me hours to try and work this out and I'm still having trouble getting the value from the pot to change the set temperature