chris24
As I read here in the forum, you said that must written an additional driver to use i2c for expander or other i2c-devices.
My question is, if I integrate the expander into the linux system. I mean that via starting script the expander include e.g. MCP23007 into the linux path. With e.g.:
echo mcp23007 0x20 > /sys/bus/i2c/devices/i2c-0/new_device

Then the system creates a new device "gpiochipXY" and behind are my GPIOs from the mcp23007 chip.
Is it then possible to use them from OpenPLC Software? Because now are these GPIOs implemented in the system.
thiagoralves
You still need a mechanism to glue OpenPLC to your folder mounting point. That's called a driver! 🙂 If you don't write anything on the runtime code, OpenPLC won't have any idea that this interface exists.

Reply 0 0
Reply