<?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のトピックLPCxpresso 1114 - read input problem.</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCxpresso-1114-read-input-problem/m-p/594116#M30786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Mondo90 on Wed Jun 11 13:44:39 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello guys, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As the subject says I have a problem with reading input, to be honest I really don't know and didn't find any usefull informaton about reading input in my lpcxpresso 1114.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So far I run (with sucess) freertos_main.c program which flashing the diode, now I want to make some more serious but I need to know how to get and read input signals.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All i have is:&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;SetGPIOOut(0, 7); // ToggleGPIOBit(0, 7);
SetGPIOOut(1, 9);//Red
SetGPIOBit(1, 9);
GPIOSetDir(1,10,0);
SetGPIOIn(1,10); //input ?&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that "SetGPIOIn" set pin 1,10 to be input but have no idea how to read input value and dectec whether ther is or not volatge.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, how big voltage I can pass to input ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which function use to read input and how to do this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I use all pins for input or only selected ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:53:23 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:53:23Z</dc:date>
    <item>
      <title>LPCxpresso 1114 - read input problem.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCxpresso-1114-read-input-problem/m-p/594116#M30786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Mondo90 on Wed Jun 11 13:44:39 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello guys, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As the subject says I have a problem with reading input, to be honest I really don't know and didn't find any usefull informaton about reading input in my lpcxpresso 1114.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So far I run (with sucess) freertos_main.c program which flashing the diode, now I want to make some more serious but I need to know how to get and read input signals.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All i have is:&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;SetGPIOOut(0, 7); // ToggleGPIOBit(0, 7);
SetGPIOOut(1, 9);//Red
SetGPIOBit(1, 9);
GPIOSetDir(1,10,0);
SetGPIOIn(1,10); //input ?&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that "SetGPIOIn" set pin 1,10 to be input but have no idea how to read input value and dectec whether ther is or not volatge.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, how big voltage I can pass to input ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which function use to read input and how to do this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I use all pins for input or only selected ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:53:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCxpresso-1114-read-input-problem/m-p/594116#M30786</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPCxpresso 1114 - read input problem.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCxpresso-1114-read-input-problem/m-p/594117#M30787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Thu Jun 12 00:08:20 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure what code base you are using, but - as detailed in the LPCXpresso User Manual - the recommended example code base is LPCOpen. The version for the LPCXpresso11C24 is the one to use with your LPCXpresso1114 board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flpcopen-software-development-platform-lpc11xx-packages-0" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc11xx-packages-0&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[The only difference between these parts is the CAN peripheral on the LPC11C24.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:53:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCxpresso-1114-read-input-problem/m-p/594117#M30787</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:53:24Z</dc:date>
    </item>
  </channel>
</rss>

