Matthew Lewis
Matthew Lewis
Thanks for this. Very happy to change the MANIFEST.MF file, however, I don't want to add any additional dependencies. From a quick look at this, it would appear this would...
Have you tried my SPI driver? That will work without requiring root permissions.
Thanks for your patience Neil. Unfortunately I cannot test this out myself right now, I do recall the SPI driving being a bit "experimental". Frustrating that it sort of works...
Which Python library are you using? I'd be happy to look at that and see if how I can improve things with my code.
FYI, documented Java code for MCP23017 here: https://github.com/mattjlewis/diozero/blob/master/diozero-core/src/main/java/com/diozero/MCP23017.java
Please share the Python code that works and I'll take a look.
Apologies for the delay in looking into this - I will include in the next release.
Apologies for the long delay on this one - finally released 1.3.4
Hi Neil, this would be a great feature enhancement. In the short term I could very easily extend the low-level API [here](https://github.com/mattjlewis/diozero/blob/main/diozero-core/src/main/java/com/diozero/internal/board/raspberrypi/RaspberryPiMmapGpio.java#L231) to allow this. At the moment it only...
Taking another look at this and I can see that [getMode](https://github.com/mattjlewis/diozero/blob/main/diozero-core/src/main/java/com/diozero/internal/board/raspberrypi/RaspberryPiMmapGpio.java#L175) is actually fairly comprehensive. It _should_ just be a matter of doing the equivalent in the setMode method.