I want to enter a set point by a potentiometer to a PIC16F877. This set point should order the pic to order a heater to heat to the temperaure corresponding to the potentiometer voltage ... how can I scale the potentiometer output so that each voltage value that the potentiometer gives become corresponding to a temperature that the thermocouple measures ... Note that the thermocouple gives 41 microvolt per degree centigrade