<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>LPC1768 coding</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/31821/lpc1768-coding</link><description> 
Hi friends.I am new to ARM programming.I am working on NXP LPC1768
processor. 
There are 8 LED&amp;#39;s interfaced to the processor as follows. 
LED0-P2.0 
LED1-P2.1 
LED2-P2.2 
LED3-P2.3 
LED4-P2.4 
LED5-P2.5 
LED6-P1.25 
LED7-P1.26 
i want to display the</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: LPC1768 coding</title><link>https://community.arm.com/thread/118413?ContentTypeID=1</link><pubDate>Sun, 09 Jun 2013 09:06:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:aa202fdf-3c20-4e20-b682-00d0bf93a51f</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
LPC_GPIO2-&amp;gt;FIOSET=(value);&lt;br /&gt;
LPC_GPIO2-&amp;gt;FIOCLR=(~value &amp;amp;0x3F); // Invert to clear the bits
you want to ZERO&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC1768 coding</title><link>https://community.arm.com/thread/81274?ContentTypeID=1</link><pubDate>Sun, 09 Jun 2013 07:23:40 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:feaf557d-021f-464c-8d48-e9126a9e4547</guid><dc:creator>Raja Shekar</dc:creator><description>&lt;p&gt;&lt;p&gt;
to be precise&lt;br /&gt;
when i want to display 0x00000001 the LED0 pin will be ON.and when i
want to display 0x00000002 LED 0,1 are getting on when only LED 1 has
to be ON.&lt;br /&gt;
I am struck with the algorithm as to how to clear the pin value(using
FIOCLR).&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC1768 coding</title><link>https://community.arm.com/thread/61982?ContentTypeID=1</link><pubDate>Sun, 09 Jun 2013 07:19:20 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d8a2fc55-3585-43f9-89fc-b4fb079279ab</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;When we use the FIOSET and set any particular pin only that pin
gets set and provious pins remain unchanged.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
And how did you you plan on &lt;b&gt;clearing&lt;/b&gt; any of those pins you
set?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>