when u manual turn the preset, the preset output voltage value will change, so PIC can read the voltage through the ADC channel.
then u can control the fan speed by using PWM pulse. PWM's duty cycle can be controlled, to get the fan speed.
i dont understand those transistors network part there. and i dont see how u can make PWM pulse from the transistors there.