# How to use E1 as E0?

Like many people, I have burnt the pins in the micro-controller connected to the E0 motor - the E0 motor is not working anymore and I need to print tomorrow! I need to control the extruder motor with the working E1 pins. How do I change this in firmware?

I tried to change to the pins in pins_RAMPS.h" but it was a complete fail, the motors that i tried to change didn't move.

I have a Arduino Mega + Ramps 1.3 in "Extruder Fan Bed" configuration, I use Repetier-Host as host and Marlin as firmware.

• How did you find that Arduino pins were burnt? Have you tried spare motor driver? – Mikhail Z Dec 12 '16 at 18:30
• @MikhailZ Yes definitely ! I swapt the drivers to test them, and I always replace the bad drivers with new/repaired ones. – masterleo Jan 25 '17 at 21:23
• Changing pins_RAMPS should work. You must have done something wrong when trying it. – Tom van der Zanden Feb 10 '17 at 12:34
• To elaborate on this answer of Thomas S, a more detailed description of swapping the pins is found in this 3D.SE answer. Please vote and accept an answer (we want this community to get out of Beta stage), thanks! – 0scar Aug 3 '18 at 19:15

I would change the pin assignments by swapping E0 and E1 in pins_RAMPS.h`.