<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Marlin and the AUX-2 port</title>
        <description> Hi all,

I have a RAMPS 1.4 with Marlin. I&#039;m trying to use AUX-2 for some custom controls, using 2 analog and 1 digital pins.

I wrote some test software by adding a new .cpp and .h files to the Marlin project in Arduino IDE. My problem is that the &quot;Serial&quot; class seems to be missing. This class works with other tests projects, but when I tried to use it within the Marlin project, it seems to have been de-activated. Is this the case?

If so, I&#039;d be grateful if someone could show me how to do serial comms within Marlin (read analog and digital pins from the AUX-2 port).

Thank you very much in advance</description>
        <link>https://reprap.org/forum/read.php?146,525425,525425#msg-525425</link>
        <lastBuildDate>Thu, 12 Mar 2026 15:54:38 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?146,525425,525425#msg-525425</guid>
            <title>Marlin and the AUX-2 port</title>
            <link>https://reprap.org/forum/read.php?146,525425,525425#msg-525425</link>
            <description><![CDATA[ Hi all,<br />
<br />
I have a RAMPS 1.4 with Marlin. I'm trying to use AUX-2 for some custom controls, using 2 analog and 1 digital pins.<br />
<br />
I wrote some test software by adding a new .cpp and .h files to the Marlin project in Arduino IDE. My problem is that the "Serial" class seems to be missing. This class works with other tests projects, but when I tried to use it within the Marlin project, it seems to have been de-activated. Is this the case?<br />
<br />
If so, I'd be grateful if someone could show me how to do serial comms within Marlin (read analog and digital pins from the AUX-2 port).<br />
<br />
Thank you very much in advance]]></description>
            <dc:creator>demon</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Wed, 24 Jun 2015 04:16:21 -0400</pubDate>
        </item>
    </channel>
</rss>
