<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to i2c - MCP23017 library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a2dd4dd45f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a2dd4dd45f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/a2dd4dd45f/</id><updated>2023-01-13T13:42:25.513000Z</updated><subtitle>Recent posts to i2c - MCP23017 library</subtitle><entry><title>i2c - MCP23017 library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a2dd4dd45f/?limit=25#6a8f" rel="alternate"/><published>2023-01-13T13:42:25.513000Z</published><updated>2023-01-13T13:42:25.513000Z</updated><author><name>laruso</name><uri>https://forge.codesys.com/u/laruso/</uri></author><id>https://forge.codesys.com22e8cf8aa273c2bdab18d21c768fce8dc5977e6b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I really appreciate your changes on the library regarding the polarity of inputs. Additionally I tweaked it a little bit to controll this for each port with a variable.&lt;/p&gt;
&lt;p&gt;What do think?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>i2c - MCP23017 library</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a2dd4dd45f/?limit=25#774c" rel="alternate"/><published>2020-02-27T16:46:30.654000Z</published><updated>2020-02-27T16:46:30.654000Z</updated><author><name>elconfa</name><uri>https://forge.codesys.com/u/elconfa/</uri></author><id>https://forge.codesys.comb3cf1d2f31c7fd89eceb00481fb89674fdc6327d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Good morning,&lt;br/&gt;
I made a small change to the library i2c - MCP23017. &lt;/p&gt;
&lt;p&gt;Now when the pins are set as inputs, the signal arriving at the PLC reflects the opposite logical state with respect to the input signal.&lt;br/&gt;
In practice, when the pin is set to 0V, the high signal arrives on the PLC. &lt;/p&gt;
&lt;p&gt;I think it's easier to manage inputs this way.&lt;/p&gt;
&lt;p&gt;I provide both the normal library and the compiled library.&lt;/p&gt;
&lt;p&gt;What do you think?&lt;/p&gt;
&lt;p&gt;Massimo&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=4313" rel="nofollow"&gt;I2C_MCP23017_Confa.compiled library &lt;span&gt;&lt;span&gt;[160.9 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=4312" rel="nofollow"&gt;I2C_MCP23017_Confa.library &lt;span&gt;&lt;span&gt;[304.06 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>