<?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 Re: Help on programming... in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539328#M6445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ToBeFrank on Wed Nov 02 13:20:50 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: raghavendrabsrg&lt;/STRONG&gt;&lt;BR /&gt;Can you provide me with the code?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: raghavendrabsrg&lt;/STRONG&gt;&lt;BR /&gt;other wise i guess ill have to study through the whole documentation (which is not so good when compared to AVR's, but i really like the features in lpc) and hopefully write the code by myself..&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is your best plan.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:17:39 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:17:39Z</dc:date>
    <item>
      <title>Help on programming...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539323#M6440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by raghavendrabsrg on Tue Nov 01 05:44:54 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, Im a beginner in LPC and desperately need your help guys. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've to make a simple robot for a competition (with NO prize money), deadline is 3days.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I've written a simple algorithm of how the bot works, And its running pretty with an AVR 128(atmel).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But im not able to startup good with LPCxpresso 1114/302...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So i actually needed some real code that works.. if you can help, i'd be greatful to you... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Algorithm - &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Objective: The robot must find its enemy bot, and then push the enemy bot out of the arena which is a circle of black line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To find black line and to be inside the circle i've used line sensors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To find the enemy bot i've used a obstacle sensor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;S1 is a left side line sensor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;s2 is a right side line sensor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A1 is a obstacle sensor at front of the bot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//program begins &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#includes ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;main()&amp;nbsp;&amp;nbsp; // main program begins&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;while(1)&amp;nbsp;&amp;nbsp; // let the main program run forever in the MCU.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If((s1||s2) == 0)&amp;nbsp; // bot is inside the circle, so search the target.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Searchmode();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If(s1 == 1)&amp;nbsp; // line detected, so turn back into the circle, and search again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;turn right for 0.5 seconds;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;go front for 1 second;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;searchmode();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If(s2 == 1)&amp;nbsp; // line detected, so turn back into the circle, and search again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;turn left for 0.5 seconds; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;go front for 1 second;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;searchmode();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&amp;nbsp; // end while.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&amp;nbsp; // end Main.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Searchmode()&amp;nbsp; // begin search sub program.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rotate bot, searching for a signal in obstacle sensor - for 3 seconds; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If (A1 == 1)&amp;nbsp; // bot found!, so stop, and move towards the bot and push it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;stop;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;move forward;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else&amp;nbsp; // bot escaped, so move forward and search again. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Move forward 1 second and again search mode();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// End of everything. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And i know this is not fair to ask the actual code, but i was not satisfied with the stuff i found in the 'examples' given.. so need to get familiarized with those GPIOSetValue(para) and other basic stuff.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance. :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:17:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539323#M6440</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help on programming...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539324#M6441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by raghavendrabsrg on Tue Nov 01 06:06:47 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Aleast quite a few snaps of code or hints would be really useful.. I'd really get started good, if i get this program running.. I'm really appreciating the LPC series for its complexity and versatility.. :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:17:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539324#M6441</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help on programming...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539325#M6442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by graynomad on Wed Nov 02 02:11:06 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;3 Days:eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, but IMO there's no point even starting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;______&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:17:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539325#M6442</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help on programming...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539326#M6443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ToBeFrank on Wed Nov 02 10:38:10 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: graynomad&lt;/STRONG&gt;&lt;BR /&gt;3 Days:eek:&lt;BR /&gt;&lt;BR /&gt;Sorry, but IMO there's no point even starting.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exactly. If it truly is "[I]running pretty with an AVR 128[/I]", why would you switch chips 3 days before the deadline? Makes no sense.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:17:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539326#M6443</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help on programming...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539327#M6444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by raghavendrabsrg on Wed Nov 02 12:37:18 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: ToBeFrank&lt;/STRONG&gt;&lt;BR /&gt;Makes no sense.&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems so, its a community contest so i thought this would be a good exercise to start up with my lpc board.. and thought it would be best if i get the source code for this algorithm and Analyze it.. otherwise im afraid i'd never start with it..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I tried to write some basic code, but couldn't link the libraries/drivers.. May i ask Can you provide me with the code? it'd be great for me.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;other wise i guess ill have to study through the whole documentation (which is not so good when compared to AVR's, but i really like the features in lpc) and hopefully write the code by myself..&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, ill try to come back and post the code if everything works good. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a nice day folks.. :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:17:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539327#M6444</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help on programming...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539328#M6445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ToBeFrank on Wed Nov 02 13:20:50 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: raghavendrabsrg&lt;/STRONG&gt;&lt;BR /&gt;Can you provide me with the code?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: raghavendrabsrg&lt;/STRONG&gt;&lt;BR /&gt;other wise i guess ill have to study through the whole documentation (which is not so good when compared to AVR's, but i really like the features in lpc) and hopefully write the code by myself..&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is your best plan.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:17:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539328#M6445</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help on programming...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539329#M6446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vasanth on Thu Nov 03 22:09:35 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt; but i was not satisfied with the stuff i found in the 'examples' given&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We all satisfied... :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;im afraid i'd never start with it&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope you spend sometime with LPC...Xpresso..:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:17:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Help-on-programming/m-p/539329#M6446</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:17:40Z</dc:date>
    </item>
  </channel>
</rss>

