<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        Edward,&lt;br&gt;&lt;br&gt;This sounds a little bit more like a Basic Stamp question than a RoboRealm question.&amp;nbsp;&amp;nbsp;Did you Parallax.com had a forum sections for the Basic Stamp and robotics questions?&amp;nbsp;&amp;nbsp;With a question about your Boe-Bot code the folks on the Parallax.com forum can probably provide a wider range of feedback for your question.&lt;br&gt;&lt;br&gt;I have worked with the Basic Stamps for many years and I think I can help answer your questions.&amp;nbsp;&amp;nbsp;It sounds like you want to create 1 program that does the function of both your seperate programs, is that correct?&amp;nbsp;&amp;nbsp;If so, I don&apos;t see anything with your code that would prevent you from doing that with the samples you listed here.&amp;nbsp;&amp;nbsp;This is how I would combine the programs:&lt;br&gt;&lt;br&gt;________________________&lt;br&gt; {$STAMP BS2} &lt;br&gt;&apos; {$PBASIC 2.5} &lt;br&gt;&lt;br&gt;RC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PIN 1 &lt;br&gt;result&amp;nbsp;&amp;nbsp;VAR Word &lt;br&gt;Led&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PIN 10 &lt;br&gt;&lt;br&gt;&apos;servo variables&lt;br&gt;x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;VAR Word &lt;br&gt;y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;VAR Word &lt;br&gt;tilt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;VAR Word &lt;br&gt;&lt;br&gt;&lt;br&gt;Main: &lt;br&gt;HIGH RC &lt;br&gt;PAUSE 50 &lt;br&gt;RCTIME RC,1, result &lt;br&gt;IF (result&amp;lt;200) THEN Ledoff &lt;br&gt;IF (result&amp;gt;200) THEN Ledon &lt;br&gt;Ledoff: &lt;br&gt;LOW Led &lt;br&gt;GOTO Main &lt;br&gt;Ledon: &lt;br&gt;HIGH Led &lt;br&gt;GOTO Servo &lt;br&gt;&lt;br&gt;&lt;br&gt;Servo: &lt;br&gt;SERIN 0,84,[WAIT (&quot;!&quot;),DEC4 x,DEC4 y,DEC4 tilt] &lt;br&gt;PULSOUT 14, x &lt;br&gt;PULSOUT 15, y &lt;br&gt;PULSOUT 13, tilt &lt;br&gt;PAUSE 5 &lt;br&gt;GOTO main &lt;br&gt;&lt;br&gt;_________________________________&lt;br&gt;&lt;br&gt;Do you see what I did there?&amp;nbsp;&amp;nbsp;I combined your variables at the top and renamed the second &quot;main:&quot; to &quot;Servo:&quot;.&amp;nbsp;&amp;nbsp;When it runs it should do the Main section, then the Servo section the loop back to Main and keep repeating.&lt;br&gt;&lt;br&gt;If you have other Basic Stamp questions you can e-mail me off the forum at &lt;a href=&quot;mailto:Weyoun7@aol.com&quot;&gt;Weyoun7@aol.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;Very Best Regards and Happy Roboting,&lt;br&gt;-Justin Ratliff&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3021</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3021</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>How can I put two codes in basic stamp?</title>
        <description>
        Hello, I&apos;m doing a tracking color object with boe bot and Roborealm but I would like to put another code. I explain you, I have a code of a light sensor with a LDR and on the other hand I have the code for servo. How can I insert the two codes that they are independents?&lt;br&gt;&lt;br&gt;The codes are:&lt;br&gt;&lt;br&gt;&apos; {$STAMP BS2}&lt;br&gt;&apos; {$PBASIC 2.5}&lt;br&gt;&lt;br&gt;RC PIN 1&lt;br&gt;&lt;br&gt;result VAR Word&lt;br&gt;&lt;br&gt;Led PIN 10&lt;br&gt;&lt;br&gt;&lt;br&gt;Main:&lt;br&gt;HIGH RC &lt;br&gt;PAUSE 50 &lt;br&gt;RCTIME RC,1, result &lt;br&gt;IF (result&amp;lt;200) THEN Ledoff&lt;br&gt;IF (result&amp;gt;200) THEN Ledon&lt;br&gt;Ledoff:&lt;br&gt;LOW Led&lt;br&gt;GOTO Main&lt;br&gt;Ledon:&lt;br&gt;HIGH Led&lt;br&gt;GOTO Main &lt;br&gt;&lt;br&gt;......................................&lt;br&gt;&lt;br&gt;&apos; {$STAMP BS2}&lt;br&gt;&apos; {$PBASIC 2.5}&lt;br&gt;&lt;br&gt;x VAR Word&lt;br&gt;y VAR Word&lt;br&gt;tilt VAR Word&lt;br&gt;&lt;br&gt;main:&lt;br&gt;SERIN 0,84,[WAIT (&quot;!&quot;),DEC4 x,DEC4 y,DEC4 tilt]&lt;br&gt;PULSOUT 14, x&lt;br&gt;PULSOUT 15, y&lt;br&gt;PULSOUT 13, tilt&lt;br&gt;PAUSE 5&lt;br&gt;GOTO main&lt;br&gt;&lt;br&gt;Thank you         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3021</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3021</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
