<?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: How to turn led on (programming) in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543151#M8136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nagaraj.baddi on Wed Oct 26 00:01:04 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;//First set the direction for PORTS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_GPIO0-&amp;gt;FIODIR = 1 &amp;lt;&amp;lt; 2;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_GPIO0-&amp;gt;FIODIR = 1 &amp;lt;&amp;lt; 4;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_GPIO0-&amp;gt;FIOSET = 1 &amp;lt;&amp;lt; 2;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //P0.2 LED get on&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_GPIO0-&amp;gt;FIOCLR = 1 &amp;lt;&amp;lt; 4;&amp;nbsp;&amp;nbsp; //P0.4 LED get on&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;:):)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:20:44 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:20:44Z</dc:date>
    <item>
      <title>How to turn led on (programming)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543146#M8131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zxcxz on Tue Oct 25 03:08:56 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In C programming, how can I turn these 2 leds on ? Yes, it's a simple example. But I'm not good on C programming :o I try to learn 1769 programming with examples. Also I'm at the begining.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for replies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[IMG]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fimg851.imageshack.us%2Fimg851%2F5787%2Fledturnon.jpg%5B%2FIMG%5D" rel="nofollow" target="_blank"&gt;http://img851.imageshack.us/img851/5787/ledturnon.jpg[/IMG]&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543146#M8131</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn led on (programming)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543147#M8132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Tue Oct 25 03:20:45 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: zxcxz&lt;/STRONG&gt;&lt;BR /&gt;...I try to learn 1769 programming with examples..&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then import and read this sample: RDB1768cmsis2_SysTick :eek:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:20:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543147#M8132</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn led on (programming)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543148#M8133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zxcxz on Tue Oct 25 03:24:59 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;Then import and read this sample: RDB1768cmsis2_SysTick :eek:&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did :) But I don't own my card yet, waiting for the cargo. So, I can't test the code changes I do :o&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:20:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543148#M8133</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn led on (programming)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543149#M8134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Tue Oct 25 03:30:45 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 don't own my card yet, waiting for the cargo.&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;And your brain and your glasses are also in that cargo :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In that sample are 2 files included: leds.h and leds.c :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you think are they doing :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: A good point to start could be reading the user manual :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:20:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543149#M8134</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn led on (programming)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543150#M8135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by serge on Tue Oct 25 23:26:34 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;My humble opinion is that you will blow up your LPC1769 with that schematic.:eek: There is only 1 (ONE) pin (PIO0_22) able to drive a led without extra electronics.:p&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope I just gave the right pin number as i am typing this in a hurry.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:20:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543150#M8135</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn led on (programming)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543151#M8136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nagaraj.baddi on Wed Oct 26 00:01:04 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;//First set the direction for PORTS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_GPIO0-&amp;gt;FIODIR = 1 &amp;lt;&amp;lt; 2;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_GPIO0-&amp;gt;FIODIR = 1 &amp;lt;&amp;lt; 4;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_GPIO0-&amp;gt;FIOSET = 1 &amp;lt;&amp;lt; 2;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //P0.2 LED get on&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_GPIO0-&amp;gt;FIOCLR = 1 &amp;lt;&amp;lt; 4;&amp;nbsp;&amp;nbsp; //P0.4 LED get on&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;:):)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:20:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543151#M8136</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn led on (programming)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543152#M8137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Wed Oct 26 00:44:22 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Already Halloween or just another confusing-the-confused day :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;&lt;BR /&gt;There is only 1 (ONE) pin (PIO0_22) able to drive a led without extra electronics.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;What kind of 'extra electronics' do you suggest to use for my Low Current (2mA) LEDs? A flux capacitor :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
LPC_GPIO0-&amp;gt;FIODIR = 1 &amp;lt;&amp;lt; 2;
LPC_GPIO0-&amp;gt;FIODIR = 1 &amp;lt;&amp;lt; 4;
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;You don't really suggest that :eek:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:20:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543152#M8137</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn led on (programming)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543153#M8138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by serge on Thu Oct 27 23:37:27 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Before i get even more confused :confused: on halloween i will just stop reading this forum and stick to the user manual.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And that flux capacitor? once a great invention back in 2053 BC :D&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:20:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-turn-led-on-programming/m-p/543153#M8138</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:20:45Z</dc:date>
    </item>
  </channel>
</rss>

