<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/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>Riotboard and Ultrasonic Sensor (HC-SR04)</title><link>/products/devtools/single-board-computers/riotboard/b/blog/posts/riotboard-and-ultrasonic-sensor-hc-sr04</link><description>In this small guide I will demonstrate how to integrate Riotboard with Ultrasonic sensor HC-SR04 . Step1: export ARCH &amp;amp; CROSS_COMPILE to environment path. in my case its like below, yours might be different.$ export ARCH=arm$...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Riotboard and Ultrasonic Sensor (HC-SR04)</title><link>https://community.element14.com/products/devtools/single-board-computers/riotboard/b/blog/posts/riotboard-and-ultrasonic-sensor-hc-sr04</link><pubDate>Tue, 25 Apr 2017 07:30:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:69c08515-89d8-44e5-bafb-e7f8fae9feee</guid><dc:creator>salih.mutlu@gmail.com</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;A very nice tutorial. I have some questions:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1) In driver, you set gpios as input or output, why do you export also in user space?&lt;/p&gt;&lt;p&gt;2) If I want that &amp;quot;&lt;strong&gt;devmem 0x20E009C w 0x5&lt;/strong&gt;&amp;quot; command in driver, what should I do?&lt;/p&gt;&lt;p&gt;3) If I want to build it into the kernel statically, is there anything that I have to do?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=1289&amp;AppID=90&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>