<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / I2C Device]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=354&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=354"/>
	<updated>2017-04-26T14:54:52Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=354</id>
	<entry>
		<title type="html"><![CDATA[Re: I2C Device]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1589#p1589"/>
		<content type="html"><![CDATA[<p>Hi Hendrik,<br />you can use the REXLANG function block to implement the I2C communication with the keypad/LCD. See the <a href="https://github.com/rexcontrols/REXexamples/tree/v2.50/Integrating_external_devices/I2C/MCP3422_ADC" rel="nofollow">example on using MCP3422 ADC on I2C bus</a>.</p><p>Alternatively, you can use Python scripts and exchange data with REX algorithm using REST API. The Python scripts can &quot;push&quot; or &quot;inject&quot; data into a running REX algorithm using HTTP POST and read data from REX algorithm using HTTP GET. See this example on data exchange using REST API: <a href="https://github.com/rexcontrols/REXexamples/tree/v2.50/HowTo_solutions/REST_API_example" rel="nofollow">https://github.com/rexcontrols/REXexamp … PI_example</a>.</p><p>I have no experience with the mentioned device so I cannot give you more hints. Hope this still helps.</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-04-26T14:54:52Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1589#p1589</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[I2C Device]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1585#p1585"/>
		<content type="html"><![CDATA[<p>Hi,</p><p>I am looking to use a keypad/ lcd (i2c), see link below;<br /><a href="http://www.ebay.co.uk/itm/I2C-Keypad-Front-Pack-for-16x2-LCD-RGB-Option-Arduino-Raspberry-Pi-/111620493133?var=&amp;hash=item19fd198f4d:m:mok7g-t20PxuvydrRjjRp2Q" rel="nofollow">http://www.ebay.co.uk/itm/I2C-Keypad-Fr … ydrRjjRp2Q</a></p><p>The idea is to use the keypad to enter a pin code to enable/ disable a function using REX (Rexlang function block?), but I am unsure how to do this? I have not worked with I2C devices that much. I will use the lcd to display text messages (python scripts)</p><br /><p>Regards,<br />Hendrik</p>]]></content>
		<author>
			<name><![CDATA[hendrik]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=13</uri>
		</author>
		<updated>2017-04-23T14:01:19Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1585#p1585</id>
	</entry>
</feed>
