<p>There's no reason to comment anything out. It will work just fine without any modification, even if you're just testing a single motor. That said, I don't see the value of this "test firmware" over just installing Marlin.</p>

CC BY-SA 3.0
2016-05-04T19:53:42.430Z
Somebody must see the value in it, since they wrote it, but maybe it's no longer valuable, but it was at the time.
leeand00
CC BY-SA 3.0
2016-05-04T19:52:26.097Z
2016-05-04T19:52:26.097Z
Tom van der Zanden
<blockquote>
  <p>You may want to use <a href="http://reprap.org/wiki/File:RAMPSTestCode.pde" rel="noreferrer">this code</a> to test all the electronics before
  installing any of the suggested firmwares.</p>
</blockquote>

<p>I'm planning on:</p>

<ol>
<li>Flashing the <a href="http://reprap.org/wiki/File:RAMPSTestCode.pde" rel="noreferrer">test firmware</a> onto the Arduino Mega 2560, then unplugging it from the USB.</li>
<li>Connecting RAMPS 1.4</li>
<li>Connecting all 3 jumpers under the X-Axis (leaving the other jumpers disconnected).</li>
<li>Connecting a stepper driver to the X-Axis on the board.</li>
<li>Turning the trimpot down all the way, and then back up 1/4th of the way.</li>
<li>Plugging in 1 NEMA 17 motor to the X-Axis.</li>
<li>Connecting 5A DC input into RAMPS 1.4 (not plugged in).</li>
<li>Finally plugging it in and seeing if the motor moves for 5 seconds.</li>
</ol>

<p>Now my question is, if I'm going to do this to test out a single NEMA 17 motor, do I need to comment out the rest of the test code before loading the firmware?</p>

<ramps-1.4><firmware>
Should I comment out the code for what I am not testing when loading the test firmware for Ramps 1.4?
leeand00
# Should I comment out the code for what I am not testing when loading the test firmware for Ramps 1.4?

(Asked by: username_0 on 2016-05-04)

> You may want to use [this code](http://reprap.org/wiki/File:RAMPSTestCode.pde) to test all the electronics before
> installing any of the suggested firmwares.

I'm planning on:

1. Flashing the [test firmware](http://reprap.org/wiki/File:RAMPSTestCode.pde) onto the Arduino Mega 2560, then unplugging it from the USB.
2. Connecting RAMPS 1.4
3. Connecting all 3 jumpers under the X-Axis (leaving the other jumpers disconnected).
4. Connecting a stepper driver to the X-Axis on the board.
5. Turning the trimpot down all the way, and then back up 1/4th of the way.
6. Plugging in 1 NEMA 17 motor to the X-Axis.
7. Connecting 5A DC input into RAMPS 1.4 (not plugged in).
8. Finally plugging it in and seeing if the motor moves for 5 seconds.

Now my question is, if I'm going to do this to test out a single NEMA 17 motor, do I need to comment out the rest of the test code before loading the firmware?

**Tags:** ramps-1.4, firmware


---

## 1 answers

### Answer by username_1 on 2016-05-04. Score: 4 | Accepted answer

There's no reason to comment anything out. It will work just fine without any modification, even if you're just testing a single motor. That said, I don't see the value of this "test firmware" over just installing Marlin.

> **Comments:**
> **username_0**: Somebody must see the value in it, since they wrote it, but maybe it's no longer valuable, but it was at the time.  

---

