<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Boe-Bot infrared eyes</title>
	<atom:link href="http://www.fouldsy.com/2008/06/30/boe-bot-infrared-eyes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fouldsy.com/2008/06/30/boe-bot-infrared-eyes/</link>
	<description></description>
	<pubDate>Fri, 09 Jan 2009 21:12:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: moon</title>
		<link>http://www.fouldsy.com/2008/06/30/boe-bot-infrared-eyes/#comment-13429</link>
		<dc:creator>moon</dc:creator>
		<pubDate>Mon, 05 Jan 2009 20:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.fouldsy.com/2008/06/30/boe-bot-infrared-eyes/#comment-13429</guid>
		<description>I need to ask a question :
if I need to save the path of the boe bot in an array then retrieve the path without using the IR sensor 
how can I do it??</description>
		<content:encoded><![CDATA[<p>I need to ask a question :<br />
if I need to save the path of the boe bot in an array then retrieve the path without using the IR sensor<br />
how can I do it??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fouldsy</title>
		<link>http://www.fouldsy.com/2008/06/30/boe-bot-infrared-eyes/#comment-13183</link>
		<dc:creator>fouldsy</dc:creator>
		<pubDate>Sat, 25 Oct 2008 02:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.fouldsy.com/2008/06/30/boe-bot-infrared-eyes/#comment-13183</guid>
		<description>I think this was it. Basically right out the Parallax book (formatting isn't too good in the comments section for code, sorry):

' Robotics with the Boe-Bot - FastIRRoaming.bs2
' Higher performance IR object detection assisted navigation

' {$STAMP BS2}
' {$PBASIC 2.5}

' Variables
irDetectLeft	VAR	BIT
irDetectRight	VAR	BIT
pulseLeft		VAR	WORD
pulseRight		VAR	WORD

' Signal program start/reset
FREQOUT 4, 1000, 3000

' Main routine
DO
	FREQOUT 8, 1, 38500
	irDetectLeft = IN9
	FREQOUT 2, 1, 38500
	irDetectRight = IN0

	IF (irDetectLeft = 0) AND (irDetectRight = 0) THEN
		pulseLeft = 650	
		pulseRight = 650
		HIGH 1
		HIGH 10
	ELSEIF (irDetectLeft = 0) THEN
		pulseLeft = 850
		pulseRight = 850
		HIGH 10
		LOW 1
	ELSEIF (irDetectRight = 0) THEN
		pulseLeft = 650
		pulseRight = 650
		HIGH 1
		LOW 10
	ELSE
		pulseLeft = 823
		pulseRight = 650
		LOW 1
		LOW 10
	ENDIF

	PULSOUT 13,pulseLeft
	PULSOUT 12,pulseRight

	PAUSE 15

LOOP</description>
		<content:encoded><![CDATA[<p>I think this was it. Basically right out the Parallax book (formatting isn&#8217;t too good in the comments section for code, sorry):</p>
<p>&#8216; Robotics with the Boe-Bot - FastIRRoaming.bs2<br />
&#8216; Higher performance IR object detection assisted navigation</p>
<p>&#8216; {$STAMP BS2}<br />
&#8216; {$PBASIC 2.5}</p>
<p>&#8216; Variables<br />
irDetectLeft	VAR	BIT<br />
irDetectRight	VAR	BIT<br />
pulseLeft		VAR	WORD<br />
pulseRight		VAR	WORD</p>
<p>&#8216; Signal program start/reset<br />
FREQOUT 4, 1000, 3000</p>
<p>&#8216; Main routine<br />
DO<br />
	FREQOUT 8, 1, 38500<br />
	irDetectLeft = IN9<br />
	FREQOUT 2, 1, 38500<br />
	irDetectRight = IN0</p>
<p>	IF (irDetectLeft = 0) AND (irDetectRight = 0) THEN<br />
		pulseLeft = 650<br />
		pulseRight = 650<br />
		HIGH 1<br />
		HIGH 10<br />
	ELSEIF (irDetectLeft = 0) THEN<br />
		pulseLeft = 850<br />
		pulseRight = 850<br />
		HIGH 10<br />
		LOW 1<br />
	ELSEIF (irDetectRight = 0) THEN<br />
		pulseLeft = 650<br />
		pulseRight = 650<br />
		HIGH 1<br />
		LOW 10<br />
	ELSE<br />
		pulseLeft = 823<br />
		pulseRight = 650<br />
		LOW 1<br />
		LOW 10<br />
	ENDIF</p>
<p>	PULSOUT 13,pulseLeft<br />
	PULSOUT 12,pulseRight</p>
<p>	PAUSE 15</p>
<p>LOOP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moon</title>
		<link>http://www.fouldsy.com/2008/06/30/boe-bot-infrared-eyes/#comment-13166</link>
		<dc:creator>moon</dc:creator>
		<pubDate>Fri, 24 Oct 2008 13:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.fouldsy.com/2008/06/30/boe-bot-infrared-eyes/#comment-13166</guid>
		<description>that was imazing ..
can you post the code please..??..

best regards..</description>
		<content:encoded><![CDATA[<p>that was imazing ..<br />
can you post the code please..??..</p>
<p>best regards..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
