<?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中的主题 Re: Text Printed Using SWIM is Horizontally Flipped</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Text-Printed-Using-SWIM-is-Horizontally-Flipped/m-p/515310#M1113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Safwan Ahmad on Thu May 17 11:36:52 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hello &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to draw a line using the SWIM function swim_put_line(&amp;amp;win1, 0,0,240,320). The line gets drawn from the top right of the LCD to the bottom left. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also individual letters in the text are flipped horizontally. And the text is printed right to left. Does it provide any clue? I could not find any configuration &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;related to mirroring or RTL display as you mentioned.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:16:45 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:16:45Z</dc:date>
    <item>
      <title>Text Printed Using SWIM is Horizontally Flipped</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Text-Printed-Using-SWIM-is-Horizontally-Flipped/m-p/515308#M1111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Safwan Ahmad on Wed May 16 11:30:24 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i am using LPC3250 Developer’s Kit from Embedded Artist. And NXP CDL library to develop applications. Recently I tried the SWIM library to display text on the LCD. I used the swim_put_text() function to display text but the text that is appearing on the LCD is horizontally flipped. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used the display initialization part of lcd_colorbars program for initialization of LCD. So I am not sure about the LCD settings. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please tell me about the possible reason for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Safwan Ahmad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:16:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Text-Printed-Using-SWIM-is-Horizontally-Flipped/m-p/515308#M1111</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Text Printed Using SWIM is Horizontally Flipped</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Text-Printed-Using-SWIM-is-Horizontally-Flipped/m-p/515309#M1112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wellsk on Wed May 16 14:50:49 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've seen this before - it's probably a case of the LCD being configured in a horizontal 'mirrored' rendering mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For your code, examine the data sent via SPI(?) to the LCD. Once of those bits in one of the register is probably not configured for the correct horizontal direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AT last check, the init code for the display worked correctly for the LCD setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;You can examine the LCD initialization code here: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgit.lpclinux.com%2F%3Fp%3Dlinux-2.6.34-lpc32xx.git%3Ba%3Dblob%3Bf%3Darch%2Farm%2Fmach-lpc32xx%2Fea3250.c%3Bh%3D6eceec875d0440c2b6bc4d14d5535e0241e64269%3Bhb%3Dfdb5108e5efdf3638cc5b709a6a5dbb6dc60928a" rel="nofollow" target="_blank"&gt;http://git.lpclinux.com/?p=linux-2.6.34-lpc32xx.git;a=blob;f=arch/arm/mach-lpc32xx/ea3250.c;h=6eceec875d0440c2b6bc4d14d5535e0241e64269;hb=fdb5108e5efdf3638cc5b709a6a5dbb6dc60928a&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:16:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Text-Printed-Using-SWIM-is-Horizontally-Flipped/m-p/515309#M1112</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Text Printed Using SWIM is Horizontally Flipped</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Text-Printed-Using-SWIM-is-Horizontally-Flipped/m-p/515310#M1113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Safwan Ahmad on Thu May 17 11:36:52 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hello &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to draw a line using the SWIM function swim_put_line(&amp;amp;win1, 0,0,240,320). The line gets drawn from the top right of the LCD to the bottom left. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also individual letters in the text are flipped horizontally. And the text is printed right to left. Does it provide any clue? I could not find any configuration &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;related to mirroring or RTL display as you mentioned.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:16:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Text-Printed-Using-SWIM-is-Horizontally-Flipped/m-p/515310#M1113</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:16:45Z</dc:date>
    </item>
  </channel>
</rss>

