<?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>LPC Microcontrollers中的主题 code for attaching a 2*16 lcd to lpc1769</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/code-for-attaching-a-2-16-lcd-to-lpc1769/m-p/521882#M4518</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by a0105540 on Mon Sep 15 03:31:30 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to attach a 2*16 LCD to my LPC1769 using 4_bit configuration. I found some useful code online and took them as my references to write my own code. However, my friends and i spent three whole days to debug the simple code but nothing happened. I sincerely call for your guys help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The LCD i use is a rt1602c. I want to display "hello" and "world!" on two separate rows of the screen. But every time i compile, the screen showed "Vellogorld!" or "ello"(row1)&amp;amp;gworld!(row2) or "ello! ello", etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The display results are quite random but i can roughly see "hello world!" there. The position is not stable, which shifts with time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I attached the lcd.c lcd.h and main.c file below. And i also attached a datasheet for the rt1602c. A website is provided as well if you want to know more about the lcd.(&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.8051projects.net%2Flcd-interfacing%2Flcd-4-bit.php"&gt;http://www.8051projects.net/lcd-interfacing/lcd-4-bit.php&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338076"&gt;main_8.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338076"&gt;lcd_0.h.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338076"&gt;lcd_0.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:52:37 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:52:37Z</dc:date>
    <item>
      <title>code for attaching a 2*16 lcd to lpc1769</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/code-for-attaching-a-2-16-lcd-to-lpc1769/m-p/521882#M4518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by a0105540 on Mon Sep 15 03:31:30 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to attach a 2*16 LCD to my LPC1769 using 4_bit configuration. I found some useful code online and took them as my references to write my own code. However, my friends and i spent three whole days to debug the simple code but nothing happened. I sincerely call for your guys help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The LCD i use is a rt1602c. I want to display "hello" and "world!" on two separate rows of the screen. But every time i compile, the screen showed "Vellogorld!" or "ello"(row1)&amp;amp;gworld!(row2) or "ello! ello", etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The display results are quite random but i can roughly see "hello world!" there. The position is not stable, which shifts with time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I attached the lcd.c lcd.h and main.c file below. And i also attached a datasheet for the rt1602c. A website is provided as well if you want to know more about the lcd.(&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.8051projects.net%2Flcd-interfacing%2Flcd-4-bit.php"&gt;http://www.8051projects.net/lcd-interfacing/lcd-4-bit.php&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338076"&gt;main_8.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338076"&gt;lcd_0.h.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338076"&gt;lcd_0.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:52:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/code-for-attaching-a-2-16-lcd-to-lpc1769/m-p/521882#M4518</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:52:37Z</dc:date>
    </item>
  </channel>
</rss>

