<p>I broke up my electronics and now the output for X is not working. The stepper is OK. </p>

<p>There is any simple solution to remap the output pins? I want the E1 output to act as the X output.</p>

[{'answer_id': 3926, 'author': 'Kallz', 'author_id': 6760, 'author_profile': 'https://3dprinting.stackexchange.com/users/6760', 'pm_score': -1, 'selected': False, 'text': '<p>you can find pin.h in marlin directory and in pin.h file change # define pinout of z motor and extruder motor</p>\n'}, {'answer_id': 5786, 'author': '0scar', 'author_id': 5740, 'author_profile': 'https://3dprinting.stackexchange.com/users/5740', 'pm_score': 3, 'selected': False, 'text': '<p>When using <a href="http://marlinfw.org/" rel="noreferrer">Marlin firmware</a> you could easily change the pin layout of the extra extruder (E1) with the broken X stepper pins by changing the <a href="https://github.com/MarlinFirmware/Marlin/blob/1.1.x/Marlin/pins_RAMPS.h" rel="noreferrer">pins_RAMPS.h</a> file.</p>\n\n<p><a href="http://marlinfw.org/meta/download/" rel="noreferrer">Download</a> the firmware and open the firmware project in <a href="https://www.arduino.cc/en/Main/Software" rel="noreferrer">Arduino IDE</a>. Navigate to the "Steppers" section of the <a href="https://github.com/MarlinFirmware/Marlin/blob/1.1.x/Marlin/pins_RAMPS.h" rel="noreferrer">pins_RAMPS.h</a> file and replace:</p>\n\n<pre><code>#define X_STEP_PIN         54\n#define X_DIR_PIN          55\n#define X_ENABLE_PIN       38\n#define X_CS_PIN           53\n</code></pre>\n\n<p>for:</p>\n\n<pre><code>#define X_STEP_PIN         36\n#define X_DIR_PIN          34\n#define X_ENABLE_PIN       30\n#define X_CS_PIN           44\n</code></pre>\n\n<p>and also change:</p>\n\n<pre><code>#define E1_STEP_PIN        36\n#define E1_DIR_PIN         34\n#define E1_ENABLE_PIN      30\n#define E1_CS_PIN          44\n</code></pre>\n\n<p>to:</p>\n\n<pre><code>#define E1_STEP_PIN        54\n#define E1_DIR_PIN         55\n#define E1_ENABLE_PIN      38\n#define E1_CS_PIN          53\n</code></pre>\n\n<p>When the file is changed an saved, <a href="http://marlinfw.org/docs/basics/install.html" rel="noreferrer">build and upload</a> code to your board and plug the connector of the X stepper into the E1 header.</p>\n'}]
['https://3dprinting.stackexchange.com/questions/3925', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/6893/']