Need Help for MCP23017 #416
andi-riese
started this conversation in
General
Replies: 1 comment
-
https://github.com/Pi4J/pi4j-example-devices This is the link to the examples. You looked at the mcp23017 example and this uses every register in that chip. And thar chip has a great deal of function. I do have a simple use of that chip where i only wrote code for specific function. Maybe this is a starting point for you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I use several MCP23017 on I2C bus 1 in my home automation system, which is currently still based on pi4j-v1. I would now like to switch to pi4j-v2.
Unfortunately, this is probably more complicated than I thought. I can't make sense of the example
.../pi4j-examples/pi4j-example-devices_not_used/src/main/java/com/pi4j/devices/mcp23017
Actually, I just need to know how to read or write a pin A0-A7 or B0-B7, or the registers in the MCP23017.
Can anyone help me?
Thanks in advance.
Andi
Beta Was this translation helpful? Give feedback.
All reactions