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

M42 for hotend and heat bed pins (7 replies)

$
0
0
Hi, I'm using Marlin 2.0.5.4 for controlling a PNP machine (Mega2560+ RAMPS 1.4). I could really use the MOSFET outputs (usually assigned for hotend and heat bed) to control solenoids and vacuum pumps. I know that D8, D9 and D10 are protected pins. Can anyone please let me know how to remove these from the protected pins? Till now, I've tried deleting them from the #define SENSITIVE_PINS block in sensitive_pins.h file but that did not work. I also tried defining the heater and heat bed pins as -1 but then the firmware would not compile. I've also tried M42 P8 I1 S255 and that momentarily switches on the MOSFET and then switches it off again.

Viewing all articles
Browse latest Browse all 2831

Trending Articles



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