<?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=17&amp;t=7081" />

<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>2011-03-21T02:36:51+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=17&amp;t=7081</id>
<entry>
<author><name><![CDATA[josh]]></name></author>
<updated>2011-03-21T02:36:51+01:00</updated>
<published>2011-03-21T02:36:51+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7081&amp;p=30570#p30570</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7081&amp;p=30570#p30570"/>
<title type="html"><![CDATA[Re: RoBoard 110 and Arduino I2C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7081&amp;p=30570#p30570"><![CDATA[
<blockquote><div><cite>hellu wrote:</cite><br />Is 0x30 a valid address for a slave device?<br /></div></blockquote><br /><br />If slave device is 7-bit adrress, set RoBoIO.i2c0master_StartN(0x30, RoBoIO.I2C_WRITE, 1).<br /><br />If slave device is 8-bit adrress, set RoBoIO.i2c0master_StartN(0x30&gt;&gt;1, RoBoIO.I2C_WRITE, 1).<br /><br />Because the function RoBoIO.i2c0master_StartN sends (7-bit address) + (write/read bit), the slave device recieve (address &lt;&lt; 1) + (0/1) in fact.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2058">josh</a> — Mon Mar 21, 2011 2:36 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[hellu]]></name></author>
<updated>2011-03-19T18:29:10+01:00</updated>
<published>2011-03-19T18:29:10+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7081&amp;p=30563#p30563</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7081&amp;p=30563#p30563"/>
<title type="html"><![CDATA[RoBoard 110 and Arduino I2C]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7081&amp;p=30563#p30563"><![CDATA[
Hello!<br />I am trying to send some data on I2C to an Arduino Uno board but it`s not working at all. The Arduino doesn`t receive nothing. I`m programming in C#, below is my code on the RoBoard with the I2C. Is 0x30 a valid address for a slave device? The RoBoard is master and Arduino slave.<br /><dl class="codebox"><dt>Code: </dt><dd><code>using System;<br />using System.Collections.Generic;<br />using System.Linq;<br />using System.Text;<br />using RoBoIO_DotNet;<br />namespace I2C<br />&#123;<br /><br />class Program<br />&#123;<br /><br />static void Main&#40;string&#91;&#93; args&#41;<br />&#123;<br /><br />RoBoIO.roboio_SetRBVer&#40;RoBoIO.RB_110&#41;;<br />if &#40;RoBoIO.i2c_Initialize&#40;RoBoIO.I2CIRQ_DISABLE&#41; == false&#41;<br />&#123;<br /><br />Console.WriteLine&#40;RoBoIO.roboio_GetErrMsg&#40;&#41;&#41;;<br />&#125;<br /><br />else<br />&#123;<br /><br />RoBoIO.i2c0_SetSpeed&#40;RoBoIO.I2CMODE_AUTO, 1100&#41;;<br />RoBoIO.i2c0master_StartN&#40;0x30, RoBoIO.I2C_WRITE, 1&#41;;<br />RoBoIO.i2c0master_WriteN&#40;0x11&#41;;<br />RoBoIO.i2c_Close&#40;&#41;;<br />&#125;<br /><br />&#125;<br /><br />&#125;<br /><br />&#125;</code></dd></dl><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2529">hellu</a> — Sat Mar 19, 2011 6:29 pm</p><hr />
]]></content>
</entry>
</feed>