-
I need to support GPIO over I2C using the PCF8574 chip. It looks like this might have been provided by the pigpio provider pre Pi5 but that is no longer supported. I see on the linuxfs provider that "linuxfs-digital-input" is under construction. Is that where this would be supported? I found an old reference to a PCF8574GpioProvider but I think that's based on the old Pi4J v1 and not available in Pi4J v2. So, is there any support for in v2 for I2C GPIO? If not, what's the best approach for adding it? Implementing a new GPIO provider that takes the I2C bus as a parameter? I assume there's no support in gpiod as an i2c device isn't directly exposed as a GPIO character device but maybe I'm wrong? Any guidance here would be appreciated. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Evening. As far as the pcf 8574. I have a simple usage in a V2 example to drive a display via linuxfs-i2c. Does this answer your question ? |
Beta Was this translation helpful? Give feedback.
Mike. Ok I understand your question. And no that specific an implementation does not exist. It was decided in V2 that no devices would be implemented rather user offered examples would be located in other repos and the Pi4j V2 was limited to gpio access at the basic provider level