<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / REXLANG problem with Open function for I2c device]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=342&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=342"/>
	<updated>2017-03-07T08:59:39Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=342</id>
	<entry>
		<title type="html"><![CDATA[Re: REXLANG problem with Open function for I2c device]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1524#p1524"/>
		<content type="html"><![CDATA[<p>Hi radovanciz,<br />in REX version 2.50.1 you should use</p><div class="codebox"><pre><code>i2c_bus_handle = OpenI2C(&quot;/dev/i2c-1&quot;);</code></pre></div><p>See e.g. this <a href="https://github.com/rexcontrols/REXexamples/tree/v2.50/Integrating_external_devices/I2C/MCP3422_ADC" rel="nofollow">example on reading the MCP3422 ADC</a>.</p><p>Best regards,<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2017-03-07T08:59:39Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1524#p1524</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[REXLANG problem with Open function for I2c device]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1522#p1522"/>
		<content type="html"><![CDATA[<p>Hi guys,<br />I used i2c_bus_handle = Open(67); for opening I2C bus but compiler need more arguments for this function. <br />I tried to lookup example but examples have the same declaration. <br />Can you help me with declaration Open function for I2C device in version 2.50.1.7567? <br />Thanks</p>]]></content>
		<author>
			<name><![CDATA[radovanciz]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=142</uri>
		</author>
		<updated>2017-03-06T19:49:00Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1522#p1522</id>
	</entry>
</feed>
