<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Marlin, M42 and Servo</title>
        <description> Ciao,

I have precompiled Marlin firmware installed on a printer Prusa i3 and would like to add couple of servos.

From what I understand I need to install a jumper on the 5V left  pin of reset button and than the servos on right pins on reset button.
Now to test if servos works I use the following g-code:

M42 P11 S255  ; power ON servo 0 on pin D11
M280 P0 S90 ; set servo 0 to rest position

nothing happen!
My guess is that since I did not compile the firmware, servos are not enabled in the firmware and the M42 does not override the firmware configuration.
Is this the case? Any suggestions?

Thanks
Alessandro</description>
        <link>https://reprap.org/forum/read.php?292,537564,537564#msg-537564</link>
        <lastBuildDate>Fri, 14 Aug 2026 05:08:43 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?292,537564,537564#msg-537564</guid>
            <title>Marlin, M42 and Servo</title>
            <link>https://reprap.org/forum/read.php?292,537564,537564#msg-537564</link>
            <description><![CDATA[ Ciao,<br />
<br />
I have precompiled Marlin firmware installed on a printer Prusa i3 and would like to add couple of servos.<br />
<br />
From what I understand I need to install a jumper on the 5V left  pin of reset button and than the servos on right pins on reset button.<br />
Now to test if servos works I use the following g-code:<br />
<br />
M42 P11 S255  ; power ON servo 0 on pin D11<br />
M280 P0 S90 ; set servo 0 to rest position<br />
<br />
nothing happen!<br />
My guess is that since I did not compile the firmware, servos are not enabled in the firmware and the M42 does not override the firmware configuration.<br />
Is this the case? Any suggestions?<br />
<br />
Thanks<br />
Alessandro]]></description>
            <dc:creator>biskero</dc:creator>
            <category>Mendel90</category>
            <pubDate>Sun, 26 Jul 2015 09:12:22 -0400</pubDate>
        </item>
    </channel>
</rss>
