<?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 LPC1114 UART Sample Code in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-UART-Sample-Code/m-p/587450#M27657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by xyronne@gmail.com on Tue Dec 04 10:10:58 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello to all the masters out there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPC1114. Can anyone show me a sample code other than the sample given by LPCExpresso about UART?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's what I need,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to have a program that can do the following&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. using any gpio as input (tact switch)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. every time this switch is press, it will send a string command to my modem - the command is "AT"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. it will wait for the response from the device, once it will receive the response "OK", it will then off a led connected to other gpio&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. then it will wait for another press&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope you guys can help me. Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:23:11 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:23:11Z</dc:date>
    <item>
      <title>LPC1114 UART Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-UART-Sample-Code/m-p/587450#M27657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by xyronne@gmail.com on Tue Dec 04 10:10:58 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello to all the masters out there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPC1114. Can anyone show me a sample code other than the sample given by LPCExpresso about UART?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's what I need,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to have a program that can do the following&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. using any gpio as input (tact switch)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. every time this switch is press, it will send a string command to my modem - the command is "AT"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. it will wait for the response from the device, once it will receive the response "OK", it will then off a led connected to other gpio&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. then it will wait for another press&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope you guys can help me. Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:23:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-UART-Sample-Code/m-p/587450#M27657</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 UART Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-UART-Sample-Code/m-p/587451#M27658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by xyronne@gmail.com on Sat Dec 15 21:47:48 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;unsigned char smsFormat[numSmsFormat] = "AT+CMGF=1";//sms format&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;int g = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; /****************************************************************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; * FUNCTION NAME: gsmSmsFormat&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; * DESCRIPTION: this function will set sms format to AT+CMGF=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ***************************************************************************************************/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void gsmSmsFormat(void)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for(g=0;g&amp;lt;numSmsFormat;g++)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_UART-&amp;gt;IER = IER_THRE | IER_RLS;/* Disable RBR */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while ( !(LPC_UART-&amp;gt;LSR &amp;amp; LSR_THRE) );&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_UART-&amp;gt;THR = smsFormat[g];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_UART-&amp;gt;IER = IER_THRE | IER_RLS | IER_RBR;/* Re-enable RBR*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:23:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-UART-Sample-Code/m-p/587451#M27658</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 UART Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-UART-Sample-Code/m-p/587452#M27659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by hgc_8421 on Sat Aug 01 11:03:11 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can i get the coding that you have done for AT commands as i am also developing the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:23:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-UART-Sample-Code/m-p/587452#M27659</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:23:13Z</dc:date>
    </item>
  </channel>
</rss>

