Hi,
thank you very much for your detailed informations!
That works just perfect.
Now I would like to use it in Marlin. There is already a function called "Extruder Auto Cooling Fan" which I would like to use.
If Iam right, I have to define the pin like
So now I have to connect the "Pin 100" with the upper code you posted, to let Marlin switch the Extruder cooling Fan on and off.
And this has to be an if-else-combination to use the whole "switch-on" or "switch-off"-Code ... right?
But where should I integrate the custom code so that it doesn't slow down the printer?
best regards
thank you very much for your detailed informations!
That works just perfect.
Now I would like to use it in Marlin. There is already a function called "Extruder Auto Cooling Fan" which I would like to use.
If Iam right, I have to define the pin like
#define E0_AUTO_FAN_PIN 100
So now I have to connect the "Pin 100" with the upper code you posted, to let Marlin switch the Extruder cooling Fan on and off.
And this has to be an if-else-combination to use the whole "switch-on" or "switch-off"-Code ... right?
But where should I integrate the custom code so that it doesn't slow down the printer?
best regards