If the output is negative logic, change
analogWrite(heater,Output);
to
analogWrite(heater,255-Output);