razvoj - 2020-09-20

Hello everyone!

I am using this port expander https://www.abelectronics.co.uk/p/54/io-pi-plus with 2 MCP23017 and I have a problem with outputs.

If I startup my RPI and this IO board at the same time I can not operate with outputs. There is 5V on every pin on this board. But If I startup Raspberry PI first and this IO board in about 10s, I can operate with outputs normal. I can not understand why is this and how to fix it, so that this will work normal at startup of both (RPI and IO board).

I am using this library https://forge.codesys.com/forge/talk/Runtime/thread/a2dd4dd45f/

My code example:

Best regards

 

Last edit: razvoj 2020-09-20