<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>Home DIY Electronics</title>
		<link>http://www.mysite.com</link>
		<description>Comments</description>
		<language>en</language>
		<lastBuildDate>Mon, 16 Apr 2018 04:47:17 +0100</lastBuildDate>
		<generator>Commentics</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.mysite.com/favicon.ico</url>
			<title>Home DIY Electronics</title>
			<link>http://www.mysite.com</link>
			<width>16</width>
			<height>16</height>
		</image>
		<item>
			<title>Tony's Comment</title>
			<link>https://homediyelectronics.com/projects/arduino/arduinodistancesensor/software</link>
			<description><![CDATA[One quick question. How does the LCD know what to do? How do you make that connection from the Arduino to the LCD? That&#39;s the part I&#39;m having trouble with, I can&#39;t figure out what pins from the Arduino that I need to connect to the LCD then the LCD to the Ultrasonic sensor]]></description>
			<pubDate>Mon, 16 Apr 2018 04:47:17 +0100</pubDate>
			<guid isPermaLink="false">201</guid>
		</item>
		<item>
			<title>Pavan kumar's Comment</title>
			<link>https://homediyelectronics.com/projects/arduino/arduinodistancesensor/software</link>
			<description><![CDATA[HI, <br />I was wondering if the same code can be used with a normal 16X2 lcd which comes without the keypad shield. What are the changes I need to do in order to make the same project run on a normal 16X2 display?<br />Thanks]]></description>
			<pubDate>Sat, 19 Aug 2017 09:00:41 +0100</pubDate>
			<guid isPermaLink="false">180</guid>
		</item>
		<item>
			<title>MrMaint's Comment</title>
			<link>https://homediyelectronics.com/projects/arduino/arduinodistancesensor/software</link>
			<description><![CDATA[Very nice presentation. I think there are a couple of areas where you could simplify your code without changing it&#39;s function.<p></p>Your 50us pulse is going to be high then low, then high, then low every 50us. Your call to your routine is nice, but the routine could be simplified...<p></p>void trigger_pulse()<br />{<br />static volatile bool state=0;<br />state=1-state;digitalWrite(trigPin,state);<br />}<p></p>And your routine for weighting the hits...<p></p>for(i=0,i&lt;RANGES,i++)<br />{<br /> if(i!=found_hit)<br /> {<br /> range_hits[i]=range_hits[i]-1;<br /> } else<br /> {<br /> range_hits[i]=range_hits[i]+3;<br /> }<br />}]]></description>
			<pubDate>Wed, 23 Nov 2016 19:29:05 +0000</pubDate>
			<guid isPermaLink="false">155</guid>
		</item>
		<item>
			<title>Steve's Comment</title>
			<link>https://homediyelectronics.com/projects/arduino/arduinodistancesensor/software</link>
			<description><![CDATA[Hi Bob,<p></p>I&#39;m pleased the article has helped. I would be very interested to see how your project turns out.<p></p>Steve]]></description>
			<pubDate>Sun, 31 Jan 2016 13:36:11 +0000</pubDate>
			<guid isPermaLink="false">115</guid>
		</item>
		<item>
			<title>Bob Jones's Comment</title>
			<link>https://homediyelectronics.com/projects/arduino/arduinodistancesensor/software</link>
			<description><![CDATA[This code was just what I was looking for and then some. I am building some robot classes and needed logic like this to handle my obstacle sensor.<p></p>The inclusion of the LCD code got me over another hump as well.<p></p>I will be &quot;cleaning up&quot; this example to encapsulate its functionality a bit better and then incorporating it into my robot code. I will post what I have once it&#39;s working.]]></description>
			<pubDate>Wed, 27 Jan 2016 01:41:29 +0000</pubDate>
			<guid isPermaLink="false">114</guid>
		</item>
	</channel>
</rss>