<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to I2C device library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/41b936a1b6/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/41b936a1b6/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/41b936a1b6/</id><updated>2021-09-27T10:46:35.249000Z</updated><subtitle>Recent posts to I2C device library</subtitle><entry><title>I2C device library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/41b936a1b6/?limit=25#3968/6b10" rel="alternate"/><published>2021-09-27T10:46:35.249000Z</published><updated>2021-09-27T10:46:35.249000Z</updated><author><name>tomas111</name><uri>https://forge.codesys.com/u/tomas111/</uri></author><id>https://forge.codesys.comc3aa6f3f89d7a5a6c7fc09fc4b29b346c476ec65</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, why not an example with I2C?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>I2C device library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/41b936a1b6/?limit=25#1bd8/87b0" rel="alternate"/><published>2021-09-27T10:45:50.416000Z</published><updated>2021-09-27T10:45:50.416000Z</updated><author><name>tomas111</name><uri>https://forge.codesys.com/u/tomas111/</uri></author><id>https://forge.codesys.com5838927632ebc354f34fca317ab4c3084b851ba8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, did you see bytes?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>I2C device library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/41b936a1b6/?limit=25#3968" rel="alternate"/><published>2020-02-27T16:18:58.730000Z</published><updated>2020-02-27T16:18:58.730000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comb0fffb0d3ee7c4e90b94dbbd9bb4488e9cb7b6ed</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Fabio, many are doing their own drivers in forge take a look at the documentation how to.&lt;br/&gt;
&lt;a class="" href="https://forge.codesys.com/drv/io-drivers/doc/I2C/"&gt;https://forge.codesys.com/drv/io-drivers/doc/I2C/&lt;/a&gt;&lt;br/&gt;
Can seem a little daunting but really it is achievable.&lt;br/&gt;
Please let me know if you get stuck or want advice on a particular point. You can also ask in forge itself&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>I2C device library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/41b936a1b6/?limit=25#1bd8" rel="alternate"/><published>2020-02-27T16:18:57.908000Z</published><updated>2020-02-27T16:18:57.908000Z</updated><author><name>FabioPD</name><uri>https://forge.codesys.com/u/fabiopd/</uri></author><id>https://forge.codesys.com4aea252e3568c033af11e7f847532ba79ab5a609</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello! I need to add a I2C device AM2315 (&lt;a class="" href="https://learn.adafruit.com/am2315-encased-i2c-temperature-humidity-sensor/arduino-code" rel="nofollow"&gt;https://learn.adafruit.com/am2315-encas ... duino-code&lt;/a&gt;)&lt;br/&gt;
 to my project, how to do this for my raspberry? &lt;br/&gt;
I cant  found it in the list ... may be I have to download a Adafruit  package?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>I2C device library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/41b936a1b6/?limit=25#d129" rel="alternate"/><published>2020-02-27T16:18:57.054000Z</published><updated>2020-02-27T16:18:57.054000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com8c7da60145a2e1fcc5c5774cc2ac7fbb4f5758a3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
this you need to add in the device descripton:&lt;br/&gt;
"c:\Users\&amp;lt;yourwindowsname&amp;gt;\CODESYS Control for Raspberry PI\3.5.11.10\Devices\MCP23S17.devdesc.xml" &lt;br/&gt;
"c:\Users\&amp;lt;yourwindowsname&amp;gt;\CODESYS Control for Raspberry PI\3.5.11.0\Libraries\SPI_MCP23S17.library" &lt;br/&gt;
Then you need to extend the library to read the paramter.&amp;lt;/yourwindowsname&amp;gt;&amp;lt;/yourwindowsname&amp;gt;&lt;/p&gt;
&lt;p&gt;After changing adding lines in the devicedescription the steps should be:&lt;br/&gt;
Install the devicedescription to the device repoditory and then execute update device by rightclick in the device tree -&amp;gt; update device (then the edited and Change devdesc is used)&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: ReadParameter.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3005"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: AddParameter.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3004"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>I2C device library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/41b936a1b6/?limit=25#f669" rel="alternate"/><published>2020-02-27T16:18:54.742000Z</published><updated>2020-02-27T16:18:54.742000Z</updated><author><name>olo</name><uri>https://forge.codesys.com/u/olo/</uri></author><id>https://forge.codesys.comf51105939fa60cc8a2f01aec2cbbf50bd85fb1f4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I'd like to make a library to my I2C device and I have question how to add line in configuration window of device like in attachment ?&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: config_window.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3000"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>