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 Feb 19, 2019 3:22 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: MCP23017 library
PostPosted: Thu Mar 15, 2018 12:40 pm 
Offline

Joined: Mon Nov 20, 2017 7:40 pm
Posts: 11
Hello.
I download mcp23017 library and install but I can,t add MCP23017 to I2c bus. I don,t have this element on "add device' list. What I,m doing wrong?


Top
   
 Post subject: Re: MCP23017 library
PostPosted: Thu Mar 15, 2018 5:06 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3144
Hi,
did you install the library and the device description?

BR
Edwin


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


Top
   
 Post subject: Re: MCP23017 library
PostPosted: Thu Mar 15, 2018 10:22 pm 
Offline

Joined: Mon Nov 20, 2017 7:40 pm
Posts: 11
Thank You!
That was the reason why I didnt have this on my list.

By the way, how to change I2c speed?


Top
   
 Post subject: Re: MCP23017 library
PostPosted: Mon Mar 26, 2018 6:35 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3144
Hi,
one option is to change it here:

sudo nano /etc/init.d/codesyscontrol
.
.
echo 400000 > /sys/module/i2c_bcm2708/parameters/Baudrate
.
.

BR
Edwin

Sure think you cold chance it outside from Linux command line too..


Top
   
 Post subject: Re: MCP23017 library
PostPosted: Thu Apr 05, 2018 3:46 pm 
Offline

Joined: Fri Mar 02, 2018 2:29 am
Posts: 1
Edwin Schwellinger wrote:
Hi,
did you install the library and the device description?

BR
Edwin


Hi, could you tell me how to install the device description?


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 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