<?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>LPCXpresso IDEのトピックRe: gpioGetValue</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570292#M20060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Apr 06 02:36:49 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The GPIO examples provided for LPCXpresso only provide a GPIOSetValue() function [as an inlineable function in gpio.h), not a GPIOReadValue() function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following is a simple implementation of GPIOReadValue(), based on GPIOSetValue(), which will read the state of a single gpio pin. It will return 1 if the pin is high, else 0.&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;
static __INLINE uint32_t GPIOReadValue( uint32_t portNum, uint32_t bitPosi)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t val;
&amp;nbsp;&amp;nbsp;&amp;nbsp; val = LPC_GPIO[portNum]-&amp;gt;MASKED_ACCESS[(1&amp;lt;&amp;lt;bitPosi)];
&amp;nbsp;&amp;nbsp;&amp;nbsp; return (val &amp;gt;&amp;gt; bitPosi);
}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Place this into gpio.h, and then include this header in your source files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that the LPC11/13 GPIO pins can act as interrupt sources - you might want to consider using them in this ways, rather than directly reading them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:24:11 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:24:11Z</dc:date>
    <item>
      <title>gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570291#M20059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mayotte1 on Mon Apr 05 19:55:57 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a routine like &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gpioGetValue&amp;nbsp; to get a ports value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please and thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570291#M20059</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570292#M20060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Apr 06 02:36:49 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The GPIO examples provided for LPCXpresso only provide a GPIOSetValue() function [as an inlineable function in gpio.h), not a GPIOReadValue() function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following is a simple implementation of GPIOReadValue(), based on GPIOSetValue(), which will read the state of a single gpio pin. It will return 1 if the pin is high, else 0.&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;
static __INLINE uint32_t GPIOReadValue( uint32_t portNum, uint32_t bitPosi)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t val;
&amp;nbsp;&amp;nbsp;&amp;nbsp; val = LPC_GPIO[portNum]-&amp;gt;MASKED_ACCESS[(1&amp;lt;&amp;lt;bitPosi)];
&amp;nbsp;&amp;nbsp;&amp;nbsp; return (val &amp;gt;&amp;gt; bitPosi);
}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Place this into gpio.h, and then include this header in your source files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that the LPC11/13 GPIO pins can act as interrupt sources - you might want to consider using them in this ways, rather than directly reading them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570292#M20060</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570293#M20061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wrighflyer on Tue Apr 06 03:21:44 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't the (val &amp;gt;&amp;gt; BitPosi), shifting a uint32_t, in that a bit "expensive" if it may be done every time an input is read? I guess one would need to look at the generated code in each case but would:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt; 
return (val ? 1 : 0);
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;possibly be better?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(admittedly I don't know this CPU core that well - maybe it has a barellel shifter and an arbitrary shift can be acomplished in a single cycle?)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570293#M20061</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570294#M20062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mayotte1 on Tue Apr 06 07:48:52 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried these and they both return the same "error: expected expression before 'return'"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this happens even if I replace the middle line with val = 1;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am operating without much sleep these days so maybe I don't see some simple error?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570294#M20062</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570295#M20063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Apr 06 08:14:01 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Getting the error "error: expected expression before 'return'" is rather strange. It sounds like the compiler is for some reason rejecting the line before the return statement. Are you using the code exactly as in my previous post? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And how are you calling GPIOReadValue? In my test code (based on the standard blinky example), I effectively do the following....&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;uint32_t state;

state = GPIOReadValue(LED_PORT, LED_BIT);&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570295#M20063</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570296#M20064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mayotte1 on Tue Apr 06 08:57:03 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;uint32_t a ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a = GPIOReadValue (3,0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the routine I added to gpio.h was cut and pasted from the forum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the compiler build id is 2010-01-22(v3.2.2)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570296#M20064</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570297#M20065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mayotte1 on Tue Apr 06 09:16:33 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I just took the same code snippets from my program and cut and pasted to the blinky program and they work ok in that program and not in mine.&amp;nbsp; I originally added my code to the blinky program and then renamed it as a way of starting a new project. Later I imported the blinky program to restore it .&amp;nbsp; Any suggestions are welcome.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570297#M20065</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570298#M20066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Apr 06 09:33:52 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;So you have proved that the example GPIOReadValue function does work for you in one test program. As it doesn't work in the your other test program, then I suggest you start off comparing the two source files containing the call to GPIOReadValue() and try to spot the difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You really need to post a compilable source file that shows up the error message for us to provide additional assistance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570298#M20066</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570299#M20067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mayotte1 on Tue Apr 06 10:14:42 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The only other difference I see so far is the faulty program also has another warning &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in this function. The 2 lines that starts with the "if" produce an "warning: array subscript has a type 'char'. "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This ran ok under Rowley compiler.&amp;nbsp; The array is declared as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;char send_toggle[8][4]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;char receive_toggle[8][4]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;void save_receive_toggles(char addrs,char endpoint)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;char b;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; b = Hrreg(rHRSL);&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; if (b &amp;amp; bmRCVTOGRD)&amp;nbsp;&amp;nbsp; receive_toggle[addrs][endpoint] = bmRCVTOG1; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else receive_toggle[addrs][endpoint] = bmRCVTOG0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Getting this warning is actually producing 50 warnings because it is used in 50 places.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570299#M20067</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570300#M20068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Apr 06 11:24:24 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Times New Roman]By default, LPCXpresso projects build with the -Wall option, which enables most of the compiler's warning messages. The message you are seeing here is a result of this. For more information on -Wall, please see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In particular, read the part on the the [/FONT][FONT=Times New Roman]-Wchar-subscripts option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can turn off the use of -Wall using&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Project Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; MCU C Compiler -&amp;gt; Warnings&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would imagine that the reason you did not see this with the Rowley tools is because they do not enable -Wall by default.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I doubt that this has anything to do with why you cannot get GPIOReadValue() to compile, but if you remove these warnings it is possible that you will spot another warning/error which will point you to the cause.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/FONT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570300#M20068</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570301#M20069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mayotte1 on Tue Apr 06 13:36:29 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks. I will check that. I just noticed that under the debug folder in my project, is a bunch of files that still have the name blinky in them. Probably because I originally started with the blinky project. Is there some way to regenerate these or are they ok as they are?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570301#M20069</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570302#M20070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mayotte1 on Tue Apr 06 14:57:59 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;that Wall might work but I am not an expert. All I have is a Build button to push. How do I work the options into that please?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570302#M20070</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570303#M20071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mayotte1 on Tue Apr 06 16:57:07 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to be ok now. I found where to undo the warnings checkbox in the project properties. It still had the original error so I cut and pasted my main file into the blinky project and it ran ok this time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570303#M20071</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: gpioGetValue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570304#M20072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Apr 07 01:05:34 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Glad to hear that you are now up and running with the GPIOReadValue() function, and have found where to disable the warning messages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With regards to the names of your files after copying/renaming your project, you need to change the "Build Artifact" setting for each build configuration of your "new" project. To do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[LIST=1]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*]Go to[FONT=Times New Roman] Project Properties -&amp;gt; C/C++ Build -&amp;gt;&amp;nbsp; Settings[/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*][FONT=Times New Roman]Select the Build Artifact tab[/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*][FONT=Times New Roman]Change the Artifact name to match your new project name[/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[*][FONT=Times New Roman]Repeat this for your other build configurations (typically Debug and Release).[/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/LIST]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Times New Roman]Once you are happy everything is working, you can delete the files with filenames based on the old artifact name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/FONT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:24:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gpioGetValue/m-p/570304#M20072</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:24:19Z</dc:date>
    </item>
  </channel>
</rss>

