Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12089

Re: Pin define for RAMPS

$
0
0
Hennezac,
Could I guess that you are looking at hooking up a fan for PWM?

This might be what you are looking for.

#if MB(RAMPS_13_EFB) || MB(RAMPS_13_EFF) || MB(AZTEEG_X3) || MB(AZTEEG_X3_PRO)
#define FAN_PIN 4 // (Sprinter config)
#else
#define FAN_PIN 4 // IO pin. Buffer needed
#endif

It's from pins.h, line #658. I believe, I did this a longgg time ago, is where I changed the pin assign for
my fan so it could be temp controlled but connected to the FETs. The total amount of coding
was simply to change the value for the pin.
I assumed,at the time, everything was setup as outputs with 4k7 pullups. Nothing has blown up so far with
that assumption.

Hope this helps,
Andrew

Viewing all articles
Browse latest Browse all 12089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>