<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 16x2 HD44780 LCD Library in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/16x2-HD44780-LCD-Library/m-p/535254#M10969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IanB on Sat Sep 19 10:01:09 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Easy on an LPC1224 because the pins run sequentially.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Absolute pain on an LPC11xx&amp;nbsp; - wiring up enough pins to make an 8-bit parallel port is a nightmare given the LPC11xx pinout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have taken to using the LPC15xx when I need an LCD display simply because there are 8 pins in a row (PIO0_24 to PIO0_31)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because the display IC has active-all-the-time pull-ups, the easiest way to drive it is to configure the port as open-drain. This saves endlessly having to rewrite the DIR register.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have code in assembler if you are interested.. . .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:35:40 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:35:40Z</dc:date>
    <item>
      <title>16x2 HD44780 LCD Library</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/16x2-HD44780-LCD-Library/m-p/535250#M10965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by btheuma on Thu Sep 17 03:35:52 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have a 16x2 HD44780 LCD library which works for the LPC11xx series please ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/16x2-HD44780-LCD-Library/m-p/535250#M10965</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: 16x2 HD44780 LCD Library</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/16x2-HD44780-LCD-Library/m-p/535251#M10966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Nathael on Thu Sep 17 04:56:01 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I recently made the support for these devices for my project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;You can find the sources here : &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgit.techno-innov.fr%2F%3Fp%3Dmodules%3Ba%3Dsummary" rel="nofollow" target="_blank"&gt;http://git.techno-innov.fr/?p=modules;a=summary&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Clone&amp;nbsp; :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;git clone &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgitclone.techno-innov.fr%2Fmodules" rel="nofollow" target="_blank"&gt;http://gitclone.techno-innov.fr/modules&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The driver is in extdrv/lcd_char.c with the header files in include/extdrv/lcd_char.h&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You have an example in apps/base/lcd_char/ which shows support of two displays at the same time, one with 16x2 connected in 4bits mode and one 20x4 connected in 8bits mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can see it used here :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fplus.google.com%2F109003741957441911395%2Fposts%2FLNhyZGaD9kj" rel="nofollow" target="_blank"&gt;https://plus.google.com/109003741957441911395/posts/LNhyZGaD9kj&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is for a LPC1224 but the LCD support part should be used on any LPC with little modifications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;If you need LPC11x support, I'm currently working on LPC11U35 support : &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgit.techno-innov.fr%2F%3Fp%3Dlpc11u3x%3Ba%3Dsummary" rel="nofollow" target="_blank"&gt;http://git.techno-innov.fr/?p=lpc11u3x;a=summary&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The lcd_char is not included in it, but this provides the very same API so you should only have to copy lcd_char.* files to get it working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The API definition is not yet available, you will have to refer to the source code, but I try to add as many comments as possible, and use easy to understand variable names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the LPC11U35 code does not run on your LPC11xx have a look at these files :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;core/bootstrap.c : check the interrupts order/name and adapt to your LPC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;core/pio.c : Check that all your pins are in the pio_regs_handles_port* arrays (and change the number of pins for the port in the header file).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;include/core/pio.h : check for the pins/functions definitions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;include/core/lpc_regs_11u3x.h : adapt to your LPC registers. For a LPC11xx there should be little modifications. Maybe also change the name (must be propagated in all the other files).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eventually the core/system.c code if your LPC is very different, but I doubt that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have fun.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+++&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/16x2-HD44780-LCD-Library/m-p/535251#M10966</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: 16x2 HD44780 LCD Library</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/16x2-HD44780-LCD-Library/m-p/535252#M10967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by btheuma on Fri Sep 18 03:59:16 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:35:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/16x2-HD44780-LCD-Library/m-p/535252#M10967</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: 16x2 HD44780 LCD Library</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/16x2-HD44780-LCD-Library/m-p/535253#M10968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Nathael on Fri Sep 18 04:01:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Best way is to clone the repository using Git&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Under Linux, run the following command once git is installed :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;git clone &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgitclone.techno-innov.fr%2Fmodules" rel="nofollow" target="_blank"&gt;http://gitclone.techno-innov.fr/modules&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to browse the source tree online, use the "tree" link from the summary page :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgit.techno-innov.fr%2F%3Fp%3Dmodules%3Ba%3Dsummary" rel="nofollow" target="_blank"&gt;http://git.techno-innov.fr/?p=modules;a=summary&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the one at the top is the tree to the current head of the repository, while those on each commit line is the tree at the time of the commit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also get the snapshot of the latest source by using the "snapshot" link at the end of the lastest commit line (top of the list). It will propose an archive download.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+++&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/16x2-HD44780-LCD-Library/m-p/535253#M10968</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: 16x2 HD44780 LCD Library</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/16x2-HD44780-LCD-Library/m-p/535254#M10969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IanB on Sat Sep 19 10:01:09 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Easy on an LPC1224 because the pins run sequentially.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Absolute pain on an LPC11xx&amp;nbsp; - wiring up enough pins to make an 8-bit parallel port is a nightmare given the LPC11xx pinout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have taken to using the LPC15xx when I need an LCD display simply because there are 8 pins in a row (PIO0_24 to PIO0_31)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because the display IC has active-all-the-time pull-ups, the easiest way to drive it is to configure the port as open-drain. This saves endlessly having to rewrite the DIR register.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have code in assembler if you are interested.. . .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/16x2-HD44780-LCD-Library/m-p/535254#M10969</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:35:40Z</dc:date>
    </item>
  </channel>
</rss>

