Well, as my other post has not resulted in any answers, here now is a "C" question.
https://forum.allaboutcircuits.com/threads/beaglebboneblack-mcp23017-code-no-longer-working.148883/
It has my Python code there.
So does anyone out there have "C" code to run on a BeagleBone Black, driving an MCP23017?
I have spent many hours trying to find example that I can understand, but to no avail.
It is looking like I will have to make an adapter so I can plug my board into a Dreaded Arduino to test it.
I think I can manage the Arduino version. It is a pity as I would have liked to get it going on the BBB.
This is so frustrating as I had it all working well until letting the magic Smoke out. Actually, there was no smoke, but you get the idea.
Here is the board I want to test.
I swapped the two 2 pin plugs to the right and popped the BBB
https://forum.allaboutcircuits.com/threads/beaglebboneblack-mcp23017-code-no-longer-working.148883/
It has my Python code there.
So does anyone out there have "C" code to run on a BeagleBone Black, driving an MCP23017?
I have spent many hours trying to find example that I can understand, but to no avail.
It is looking like I will have to make an adapter so I can plug my board into a Dreaded Arduino to test it.
I think I can manage the Arduino version. It is a pity as I would have liked to get it going on the BBB.
This is so frustrating as I had it all working well until letting the magic Smoke out. Actually, there was no smoke, but you get the idea.
Here is the board I want to test.

I swapped the two 2 pin plugs to the right and popped the BBB