<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Marlin/ LCD-Keypad Code Mod</title>
        <description> Hi, I am looking for a way of making this 6 button LCD shield works with Ramps 1.4 and Marlin. The keys all read from one analog pin as {30, 150, 360, 535, 760} . How should I proceed . Thank you.</description>
        <link>https://reprap.org/forum/read.php?146,181251,181251#msg-181251</link>
        <lastBuildDate>Mon, 16 Mar 2026 02:27:39 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?146,181251,664842#msg-664842</guid>
            <title>Re: Marlin/ LCD-Keypad Code Mod</title>
            <link>https://reprap.org/forum/read.php?146,181251,664842#msg-664842</link>
            <description><![CDATA[ I see this and I like It....!!!<br />
How connect in Prusa I3 mendel - RAMPS 1.4<br />
sorry my bad english...<br />
<br />
[<a href="http://www.thingiverse.com/thing:50931" target="_blank"  rel="nofollow">www.thingiverse.com</a>]]]></description>
            <dc:creator>hochi_ctes</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Tue, 17 May 2016 11:32:00 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?146,181251,269518#msg-269518</guid>
            <title>Re: Marlin/ LCD-Keypad Code Mod</title>
            <link>https://reprap.org/forum/read.php?146,181251,269518#msg-269518</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Mjuchiha</strong><br />
Hi, im new and I was plaing to connect a lcd keyboard too, were you able to get it working?</div></blockquote>
<br />
<b>Repetier-Firmware</b><br />
<br />
im current working on the same thing on the repetier firmware<br />
got the lcd and menu showing on the keypad lcd sheald<br />
alter the pin in uiconfing.h or ui.h<br />
<br />
<pre class="bbcode">
  Pins used by LCD &amp; Keypad Shield:
  
    A0: Buttons, analog input from voltage ladder
    D4: LCD bit 4
    D5: LCD bit 5
    D6: LCD bit 6
    D7: LCD bit 7
    D8: LCD RS
    D9: LCD E
    D3: LCD Backlight (high = on, also has pullup high so default is on)</pre>
.<br />
but..<br />
still cant figure out how to code the init funtion to define all the key on the Analong (A0) pin.<br />
<br />
 <pre class="bbcode">
// define some values used by the panel and buttons
int lcd_key     = 0;
int adc_key_in  = 0;
#define btnRIGHT  0
#define btnUP     1
#define btnDOWN   2
#define btnLEFT   3
#define btnSELECT 4
#define btnNONE   5</pre>
 pls need some help here.]]></description>
            <dc:creator>Everlong</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Tue, 19 Nov 2013 22:04:42 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?146,181251,268125#msg-268125</guid>
            <title>Re: Marlin/ LCD-Keypad Code Mod</title>
            <link>https://reprap.org/forum/read.php?146,181251,268125#msg-268125</link>
            <description><![CDATA[ Hi, im new and I was plaing to connect a lcd keyboard too, were you able to get it working?]]></description>
            <dc:creator>Mjuchiha</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Sat, 16 Nov 2013 20:18:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?146,181251,183749#msg-183749</guid>
            <title>Re: Marlin/ LCD-Keypad Code Mod</title>
            <link>https://reprap.org/forum/read.php?146,181251,183749#msg-183749</link>
            <description><![CDATA[ Some few years ago, reprap had a config file where there were like 3 choices of hardware. Now we start to use 2 digit numbers. Its probably going to get worse with LCD's and panels in a few years. I dont think the permutations of boards with panels will get limited, so its probably going to be all over each other's interval. It looks like its going to be quite a mess, if i can say so.<br />
<br />
How about defining LCD+menu, as one without the other doesnt make much sense, and separating the input method instead, as this is probably the part that might will vary more than the rest.]]></description>
            <dc:creator>NoobMan</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Mon, 11 Feb 2013 02:48:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?146,181251,183305#msg-183305</guid>
            <title>Re: Marlin/ LCD-Keypad Code Mod</title>
            <link>https://reprap.org/forum/read.php?146,181251,183305#msg-183305</link>
            <description><![CDATA[ NoobMan Wrote:<br />
-------------------------------------------------------<br />
&gt; Or<br />
&gt; another 1-2 pages code with great clarity will<br />
&gt; appear like initial sprinter, and then story will<br />
&gt; repeat all over again. Perhaps its a circulary<br />
&gt; process.<br />
<br />
Yes, I am pretty sure it is. And not just applied to software, I suspect it is a law of nature. Things start small and simple, end up unwieldy and complex and the only way forward is to start over.<br />
<br />
In the particular case of software, for a particular set of requirements, one person can create a lean and efficient solution. As the requirements grow, they have to refactor the design to accomodate them. This can cause conflicts in the original design paradigm, and compromises are brought in (aka hacks). Also as more people get involved they have less idea of the original design and bring their own design ideas. A further constraint is maintaining compatibility with past implementations. While refactoring and redesign may be called for, no one will thank you for changing things that used to work fine.<br />
<br />
I looked into how to create a standard way to accomodate different LCDs and keypads with some sort of generic but simple low-level "driver" API, and decided it was too impractical. The UI tends to be tightly bound to the application code, so there would also need to be an application level API. It becomes easier if you have a well defined device driver architecture and a process model so you can separate UI and application etc, but that all eats up resources which on  small CPUs are not available.<br />
<br />
It is frustrating because there are lots of great add ons out there. Supporting all of them in each firmware is an M x N problem. If there was a "standard" API then we could reduce it to nearer M, but people are not keen on standards. Unfortunately that leaves us needing to find a code sponsor to support each new panel.]]></description>
            <dc:creator>bobc</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Sat, 09 Feb 2013 05:59:39 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?146,181251,182816#msg-182816</guid>
            <title>Re: Marlin/ LCD-Keypad Code Mod</title>
            <link>https://reprap.org/forum/read.php?146,181251,182816#msg-182816</link>
            <description><![CDATA[ I totally agree, im a programmer by trade and marlin seems like a jumble even to me. Is there a simpler more customisable firmware that anyone can recommend? <br />
<br />
stupid spam filter on this forum is kicking up a stink lol]]></description>
            <dc:creator>lazzymonk</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Thu, 07 Feb 2013 13:04:39 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?146,181251,182693#msg-182693</guid>
            <title>Re: Marlin/ LCD-Keypad Code Mod</title>
            <link>https://reprap.org/forum/read.php?146,181251,182693#msg-182693</link>
            <description><![CDATA[ Same here, i checked marlin for the lcd purposes, but i find the lcd feature a little obscure and wrapped in all sorts of "panel products" for no reason that i can think of. Perhaps is not a knot impossible to untie, but it shouldnt be like that on principle. So i opened the issue <a href="https://github.com/ErikZalm/Marlin/issues/370" target="_blank"  rel="nofollow">here</a> but i dont think anybody would consider putting things differently. <br />
<br />
The way i see it, its down the path where the last FiveD died: many contributors with different points of view starting to mix things up without caring for clarity and purpose, and that its just a road to get things bloated, ending up with some code that was close to useless for everybody. Reasons why most went to sprinter and hence marlin. You can see issues like that in marlin too now, check config file like "ENDSTOPPULLUPS" section which is a simple direct thing of: "ifdef xxx then offer option set A, ifnotdef xxx then offer exact same option set A". Why should one believe the insides look any better than the front. This is most basic thingy, but just a sample, and probably more than that deep within. For example i would say having 2 config files doesnt make much sense unless you actually want to confuse things on purpose. If i think about its history, its a pitty considering to how clean and ordinated and well put first sprinter was in 1-2 pages, and down this path it will soon become another "Vista" rundown. Unless someone with a logic and cleanup sense takes things like that away instead of putting them under the carpet, but that is less likely since if someone was there like that, it wouldnt be here to start with. Or another 1-2 pages code with great clarity will appear like initial sprinter, and then story will repeat all over again. Perhaps its a circulary process. Or perhaps its just me that cant stand things that are not at their exact place. The way i see it the only firmwares that dont take BS and as a result have good cleaning and ordering of things that fit my taste and liking, are firmwares developed mostly by single persons or where there is one calling the shots with a ordinated sense. I can only think of teacup and repetier here, so too few of those around imho. May be others. Anyway, at a stretch i would say that a firmware that is "very open" to anybody who wants to patch it for whatever reason or purpose, in the sense that "takes it all in" with no rules and too little cleanup ... cant end up well, at least on the long run.]]></description>
            <dc:creator>NoobMan</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Thu, 07 Feb 2013 02:36:43 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?146,181251,181284#msg-181284</guid>
            <title>Re: Marlin/ LCD-Keypad Code Mod</title>
            <link>https://reprap.org/forum/read.php?146,181251,181284#msg-181284</link>
            <description><![CDATA[ [<a href="http://forums.reprap.org/read.php?146,181080" target="_blank"  rel="nofollow">forums.reprap.org</a>]<br />
<br />
im looking at doing an almost identical thing, just not a sheild.]]></description>
            <dc:creator>lazzymonk</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Fri, 01 Feb 2013 18:20:46 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?146,181251,181251#msg-181251</guid>
            <title>Marlin/ LCD-Keypad Code Mod</title>
            <link>https://reprap.org/forum/read.php?146,181251,181251#msg-181251</link>
            <description><![CDATA[ Hi, I am looking for a way of making this 6 button LCD shield works with Ramps 1.4 and Marlin. The keys all read from one analog pin as {30, 150, 360, 535, 760} . How should I proceed . Thank you.]]></description>
            <dc:creator>porko</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Fri, 01 Feb 2013 17:02:08 -0500</pubDate>
        </item>
    </channel>
</rss>
