Is there a pin code for Ramp 1.4 boards for enabling a fan when

Is there a pin code for Ramp 1.4 boards for enabling a fan when an extruder is enabled?

I got the RRD Fan Extender and have it setup so the first channel (D6 on mine) is the parts fan. I set up the second channel to enable my second dual extruder fan.

I can enable the fan with the Gcode M42 P11 S255 but I’d prefer something in the firmware that enables it instead.

Is there something out there for this? I’ve searched to no avail.

Configuration_adv.h line…73ish. Grab the pin # from pins.h - any time extruder is over 50C, fan will be on.

Geez I don’t know how I missed that. Thanks!

@Mike_Kelly_Mike_Make will that work for E3D fan on RoBo3D?

@denix any board that uses Marlin.