<?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 Writing user defined functions along with PE in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Writing-user-defined-functions-along-with-PE/m-p/287594#M2056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;I am using CW v10.4 for programming MC 13213, which is an SoC having an 802.15.4 compliant Modem + HCS08 MCU, in C language.&lt;/P&gt;&lt;P&gt;I have used Processor Expert to generate codes for pin control and port control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to add functions for writing commands and data to a 16x2 LCD, attached to my MCU.&lt;/P&gt;&lt;P&gt;I have written the functions needed for the same, namely lcd_data() and lcd_cmd().&lt;/P&gt;&lt;P&gt;All the pin assignments needed for LCD control are done in these functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, can somebody please tell me where to add these functions in the project ?&lt;/P&gt;&lt;P&gt;Also, how to add a Header/Source file containing these the LCD data and command functions to my project ?&lt;/P&gt;&lt;P&gt;What is the syntax for the Header/Source files ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;P&gt;- Pinakin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Feb 2014 11:39:40 GMT</pubDate>
    <dc:creator>pinakinmunot</dc:creator>
    <dc:date>2014-02-10T11:39:40Z</dc:date>
    <item>
      <title>Writing user defined functions along with PE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Writing-user-defined-functions-along-with-PE/m-p/287594#M2056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;I am using CW v10.4 for programming MC 13213, which is an SoC having an 802.15.4 compliant Modem + HCS08 MCU, in C language.&lt;/P&gt;&lt;P&gt;I have used Processor Expert to generate codes for pin control and port control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to add functions for writing commands and data to a 16x2 LCD, attached to my MCU.&lt;/P&gt;&lt;P&gt;I have written the functions needed for the same, namely lcd_data() and lcd_cmd().&lt;/P&gt;&lt;P&gt;All the pin assignments needed for LCD control are done in these functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, can somebody please tell me where to add these functions in the project ?&lt;/P&gt;&lt;P&gt;Also, how to add a Header/Source file containing these the LCD data and command functions to my project ?&lt;/P&gt;&lt;P&gt;What is the syntax for the Header/Source files ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;P&gt;- Pinakin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 11:39:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Writing-user-defined-functions-along-with-PE/m-p/287594#M2056</guid>
      <dc:creator>pinakinmunot</dc:creator>
      <dc:date>2014-02-10T11:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Writing user defined functions along with PE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Writing-user-defined-functions-along-with-PE/m-p/287595#M2057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using Processor Expert too with the MC13213, and have written a LCD component for it.&lt;/P&gt;&lt;P&gt;Have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/12/22/hd44780-2x16-character-display-for-kinetis-and-freedom-board/" title="http://mcuoneclipse.com/2012/12/22/hd44780-2x16-character-display-for-kinetis-and-freedom-board/"&gt;http://mcuoneclipse.com/2012/12/22/hd44780-2x16-character-display-for-kinetis-and-freedom-board/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/05/29/character-lcd-with-4-lines/" title="http://mcuoneclipse.com/2013/05/29/character-lcd-with-4-lines/"&gt;Character LCD with 4 Lines | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/01/02/character-lcd-with-4-lines-and-up-to-64-characters-per-line/" title="http://mcuoneclipse.com/2014/01/02/character-lcd-with-4-lines-and-up-to-64-characters-per-line/"&gt;http://mcuoneclipse.com/2014/01/02/character-lcd-with-4-lines-and-up-to-64-characters-per-line/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To your very general question: that's basically up to you as a programmer how you structure the source files.&lt;/P&gt;&lt;P&gt;You might have a look at the code of above components how this can be done.&lt;/P&gt;&lt;P&gt;This post explains how to import the component:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/05/09/processor-expert-component-peupd-files-on-github/" title="http://mcuoneclipse.com/2013/05/09/processor-expert-component-peupd-files-on-github/"&gt;Processor Expert Component *.PEupd Files on GitHub | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps as a starter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 12:01:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Writing-user-defined-functions-along-with-PE/m-p/287595#M2057</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-02-10T12:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Writing user defined functions along with PE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Writing-user-defined-functions-along-with-PE/m-p/287596#M2058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/BlackNight"&gt;BlackNight&lt;/A&gt; , Thank you for your help !&lt;/P&gt;&lt;P&gt;After some initial struggle, I have been able to add the LCD component to my project and compile it successfully.&lt;/P&gt;&lt;P&gt;Now I will proceed for checking it on Hardware !&lt;/P&gt;&lt;P&gt;- Pinakin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 03:34:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Writing-user-defined-functions-along-with-PE/m-p/287596#M2058</guid>
      <dc:creator>pinakinmunot</dc:creator>
      <dc:date>2014-02-20T03:34:59Z</dc:date>
    </item>
  </channel>
</rss>

