CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

MCP23017 library
https://forum.codesys.com/viewtopic.php?f=21&t=8703
Page 1 of 1

Author:  pawel3410 [ Thu Mar 15, 2018 12:40 pm ]
Post subject:  MCP23017 library

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?

Author:  Edwin Schwellinger [ Thu Mar 15, 2018 5:06 pm ]
Post subject:  Re: MCP23017 library

Hi,
did you install the library and the device description?

BR
Edwin

Author:  pawel3410 [ Thu Mar 15, 2018 10:22 pm ]
Post subject:  Re: MCP23017 library

Thank You!
That was the reason why I didnt have this on my list.

By the way, how to change I2c speed?

Author:  Edwin Schwellinger [ Mon Mar 26, 2018 6:35 pm ]
Post subject:  Re: MCP23017 library

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..

Author:  Kleo1002 [ Thu Apr 05, 2018 3:46 pm ]
Post subject:  Re: MCP23017 library

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?

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/