I have wired in a new extruder with its own cooling fan and I tried to change the Marlin firmware to switch it on automatically above a specific temperature (50 °C). I did noting in the Configuration.h I changed a line in the Configuration_adv.h
from
#define EXTRUDER_0_AUTO_FAN_PIN -1
to
#define EXTRUDER_0_AUTO_FAN_PIN 8
as described in this article.
But the fan is not starting when I bring the temperature above 50 °C (manually). However it starts if I switch the fan on manually from Repetier.
Am I missing something? How do I control the fan automatically on FAN0
output when the temperature reached the set limit?