CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Tue Sep 17, 2019 6:02 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: i2c - MCP23017 library
PostPosted: Thu Jan 10, 2019 8:49 am 
Offline

Joined: Wed Mar 28, 2018 3:12 pm
Posts: 30
Good morning,
I made a small change to the library i2c - MCP23017.

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.
In practice, when the pin is set to 0V, the high signal arrives on the PLC.

I think it's easier to manage inputs this way.

I provide both the normal library and the compiled library.

What do you think?

Massimo


You do not have the required permissions to view the files attached to this post.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited