<?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 how to get access to GPIO in user space from c coding  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-to-get-access-to-GPIO-in-user-space-from-c-coding/m-p/747978#M116307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have get the access of GPIO from terminal and check the value in CRO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example :&lt;/P&gt;&lt;P&gt;echo 19 &amp;gt;/sys/class/gpio/export&lt;BR /&gt;echo out &amp;gt;/sys/class/gpio/gpio19/direction&lt;BR /&gt;echo 1 &amp;gt;/sys/class/gpio/gpio19/value&lt;BR /&gt;echo 0 &amp;gt;/sys/class/gpio/gpio19/value&lt;BR /&gt;echo 19 &amp;gt;/sys/class/gpio/unexport&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but can any suggest me how to write c code and compile it on imx6ulevk board from user space.&lt;/P&gt;&lt;P&gt;what is to done i want to make a recipes or it will be done by simple make-file.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2017 05:59:26 GMT</pubDate>
    <dc:creator>sachindhoundiya</dc:creator>
    <dc:date>2017-11-29T05:59:26Z</dc:date>
    <item>
      <title>how to get access to GPIO in user space from c coding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-get-access-to-GPIO-in-user-space-from-c-coding/m-p/747978#M116307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have get the access of GPIO from terminal and check the value in CRO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example :&lt;/P&gt;&lt;P&gt;echo 19 &amp;gt;/sys/class/gpio/export&lt;BR /&gt;echo out &amp;gt;/sys/class/gpio/gpio19/direction&lt;BR /&gt;echo 1 &amp;gt;/sys/class/gpio/gpio19/value&lt;BR /&gt;echo 0 &amp;gt;/sys/class/gpio/gpio19/value&lt;BR /&gt;echo 19 &amp;gt;/sys/class/gpio/unexport&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but can any suggest me how to write c code and compile it on imx6ulevk board from user space.&lt;/P&gt;&lt;P&gt;what is to done i want to make a recipes or it will be done by simple make-file.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 05:59:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-get-access-to-GPIO-in-user-space-from-c-coding/m-p/747978#M116307</guid>
      <dc:creator>sachindhoundiya</dc:creator>
      <dc:date>2017-11-29T05:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to get access to GPIO in user space from c coding</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-get-access-to-GPIO-in-user-space-from-c-coding/m-p/747979#M116308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You may look at the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://hertaville.com/introduction-to-accessing-the-raspberry-pis-gpio-in-c.html" title="http://hertaville.com/introduction-to-accessing-the-raspberry-pis-gpio-in-c.html"&gt;Introduction to accessing the Raspberry Pi's GPIO in C++ (sysfs) · Hertaville.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 03:53:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-get-access-to-GPIO-in-user-space-from-c-coding/m-p/747979#M116308</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-12-06T03:53:30Z</dc:date>
    </item>
  </channel>
</rss>

