<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=5&amp;t=1843" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2007-10-25T07:49:07+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=1843</id>
<entry>
<author><name><![CDATA[alonsoBrain]]></name></author>
<updated>2007-10-25T07:48:11+01:00</updated>
<published>2007-10-25T07:48:11+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1843&amp;p=11858#p11858</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1843&amp;p=11858#p11858"/>
<title type="html"><![CDATA[Programming the serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1843&amp;p=11858#p11858"><![CDATA[
ok<br />I've tested the polling option at 57000 bps with great sucess<br />(the answer was here, in the forum)<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>byte RxSerial &#40;void&#41;&#123;<br />  if &#40;RXD1_READY&#41; return&#40;RXD1_DATA&#41;;<br />  else return &#40;0x0&#41;;<br />&#125;<br /><br />main &#40;void&#41; &#123;<br />  while&#40;1&#41;&#123;<br />   key = RxSerial &#40;&#41; ;<br />   if &#40;key != 0&#41;&#123;<br />      if &#40;key==KEY1&#41; command = OP1 ;   <br />      if &#40;key==KEY2&#41; command = OP2 ;   <br />   &#125;   <br />   if &#40;command==OP1&#41; make_my_things&#40;&#41;;<br /><br />  &#125;<br />&#125;</code></dd></dl> <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" />  <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=314">alonsoBrain</a> — Thu Oct 25, 2007 7:48 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[alonsoBrain]]></name></author>
<updated>2007-10-25T07:49:07+01:00</updated>
<published>2007-10-23T11:06:57+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1843&amp;p=11839#p11839</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1843&amp;p=11839#p11839"/>
<title type="html"><![CDATA[Programming the serial port]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1843&amp;p=11839#p11839"><![CDATA[
Hi!<br /><br />I'd like to connect the CM5 box with a serial device...<br /><br />What is the best choice to make the CM5 to listen to the port?<br /><br />1. An interrupt driven routine?<br />2. A simple loop as<br /><br />while (true){<br />    command =TxD8Hex (RXD1_DATA);<br />    make_my_things(command);<br />}<br /><br />?<br /><br />Thank you in advance.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=314">alonsoBrain</a> — Tue Oct 23, 2007 11:06 am</p><hr />
]]></content>
</entry>
</feed>