<p>I would change the pin assignments by swapping E0 and E1 in <code>pins_RAMPS.h</code>.</p>

CC BY-SA 4.0
2019-07-06T03:59:17.330Z
A more detailed answer is found [here](/a/5844).
0scar
CC BY-SA 3.0
2016-12-13T10:19:05.697Z
2017-02-10T11:13:36.280Z
2017-02-10T11:13:36.280Z
Thomas S.
<p>As a quick and dirty solution you may try to enable two extruders in configuration file, re-upload firmware, and then edit your GCODE file to replace all E0 references with E1.</p>

CC BY-SA 3.0
2016-12-13T02:28:17.660Z
That's a really good idea. It should be possible to have the firmware do it. Or there must be a script that can be ran... But it doesn't seem this firmware is all that great. I would suggest a different firmware if it doesn't do what is needed.
MakerModder
CC BY-SA 3.0
2016-12-12T18:42:09.727Z
2016-12-12T18:42:09.727Z
Mikhail Z
<p>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? </p>

<p>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. </p>

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

CC BY-SA 3.0
2016-12-12T18:30:09.070Z
How did you find that Arduino pins were burnt? Have you tried spare motor driver?
Mikhail Z
CC BY-SA 3.0
2017-01-25T21:23:55.717Z
@MikhailZ Yes definitely ! I swapt the drivers to test them, and I always replace the bad drivers with new/repaired ones.
Thundercoal
CC BY-SA 3.0
2017-02-10T12:34:08.730Z
Changing pins_RAMPS should work. You must have done something wrong when trying it.
Tom van der Zanden
CC BY-SA 4.0
2018-08-03T19:15:39.023Z
To elaborate on [this answer](https://3dprinting.stackexchange.com/a/3183/5740) of Thomas S, a more detailed description of swapping the pins is found in [this](https://3dprinting.stackexchange.com/a/5844/5740) 3D.SE answer. Please vote and accept an answer (we want this community to get out of Beta stage), thanks!
0scar
<marlin><firmware><motor>
How to use E1 as E0?
Thundercoal
# How to use E1 as E0?

(Asked by: username_0 on 2016-12-11)

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.

**Tags:** marlin, firmware, motor
> **Comments:**
> **username_1**: How did you find that Arduino pins were burnt? Have you tried spare motor driver?  
> **username_0**: @MikhailZ Yes definitely ! I swapt the drivers to test them, and I always replace the bad drivers with new/repaired ones.  
> **username_2**: Changing pins_RAMPS should work. You must have done something wrong when trying it.  
> **username_3**: To elaborate on [this answer](https://3dprinting.stackexchange.com/a/3183/5740) of Thomas S, a more detailed description of swapping the pins is found in [this](https://3dprinting.stackexchange.com/a/5844/5740) 3D.SE answer. Please vote and accept an answer (we want this community to get out of Beta stage), thanks!  

---

## 2 answers

### Answer by username_4 on 2016-12-13. Score: 5

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

> **Comments:**
> **username_3**: A more detailed answer is found [here](/a/5844).  

---

### Answer by username_1 on 2016-12-12. Score: 4

As a quick and dirty solution you may try to enable two extruders in configuration file, re-upload firmware, and then edit your GCODE file to replace all E0 references with E1.

> **Comments:**
> **username_5**: That's a really good idea. It should be possible to have the firmware do it. Or there must be a script that can be ran... But it doesn't seem this firmware is all that great. I would suggest a different firmware if it doesn't do what is needed.  

---

