Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

MCP23017 library

pawel3410
2018-03-15
2018-04-05
  • pawel3410 - 2018-03-15

    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?

     
  • eschwellinger

    eschwellinger - 2018-03-15

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

    BR
    Edwin

    IMG: MCP.jpg

     
  • pawel3410 - 2018-03-15

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

    By the way, how to change I2c speed?

     
  • eschwellinger

    eschwellinger - 2018-03-26

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

     
  • Kleo1002 - 2018-04-05

    Edwin Schwellinger hat geschrieben:
    Hi,
    did you install the library and the device description?
    BR
    Edwin

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

     

Log in to post a comment.