<?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: Emwin runtime orientation</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-runtime-orientation/m-p/1048806#M40673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alexis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is too much sram for the eval board to cope with at the moment so just for a test I reduced the width and height of the lcd defines and I was able to rotate a quarter of the screen. In the final product this shouldn't be a problem as we'll have external sram but I'll look for a better solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2020 14:01:06 GMT</pubDate>
    <dc:creator>iann</dc:creator>
    <dc:date>2020-05-26T14:01:06Z</dc:date>
    <item>
      <title>Emwin runtime orientation</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-runtime-orientation/m-p/1048804#M40671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a successful implementation of the emwin libraries running on a LPC54608 hooked up to a ST7789 driven display&amp;nbsp;(320x240, 18bits per pixel) working well displaying text and graphics and can set the&amp;nbsp;orientation correctly as desired at compile time, but there's a requirement to change the&amp;nbsp;orientation during running time if the product is tilted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried using the function, flag=GUI_SetOrientation(GUI_MIRROR_X |GUI_MIRROR_Y);&lt;/P&gt;&lt;P&gt;This is always returning 1 indicating an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've increased the memory set aside from GUI_NUMBYTES 0x8000 to 0x16000 if memory was a problem but the issue remains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any other areas I should be looking at?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 11:19:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-runtime-orientation/m-p/1048804#M40671</guid>
      <dc:creator>iann</dc:creator>
      <dc:date>2020-05-20T11:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Emwin runtime orientation</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-runtime-orientation/m-p/1048805#M40672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/iann"&gt;iann&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the EMWIN reference manual mention that the size of your buffer should be according to the next equation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Virtual xSize * Virtual ySize * BytesPerPixel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I think the size of GUI_NUMBYTES should be around 0x2A300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2020 18:26:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-runtime-orientation/m-p/1048805#M40672</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-05-25T18:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Emwin runtime orientation</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-runtime-orientation/m-p/1048806#M40673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alexis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is too much sram for the eval board to cope with at the moment so just for a test I reduced the width and height of the lcd defines and I was able to rotate a quarter of the screen. In the final product this shouldn't be a problem as we'll have external sram but I'll look for a better solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 14:01:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-runtime-orientation/m-p/1048806#M40673</guid>
      <dc:creator>iann</dc:creator>
      <dc:date>2020-05-26T14:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Emwin runtime orientation</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-runtime-orientation/m-p/1048807#M40674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since, I've found the driver we're using&amp;nbsp;GUIDRV_FLEXCOLOR supports this directly so the function&amp;nbsp;GUIDRV_FlexColor_SetOrientation can be called instead and doesn't require the extra memory to be allocated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 15:10:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-runtime-orientation/m-p/1048807#M40674</guid>
      <dc:creator>iann</dc:creator>
      <dc:date>2020-05-26T15:10:23Z</dc:date>
    </item>
  </channel>
</rss>

