Hi at all.
I am working on my MCP23016 to get a button input working.
At now I am able to say if a pin is Output or Input.
I can also set them to High or Low.
In case of that I can turn on a LED. (see my code)
But I want to wire a button on f.i. GP1.1 and I want to be able to check if this button is either pressed or not.
I already set GP1.1 to Input, but I don't know how to check the button status. Pressed or not.
Did someone realised this or can help me?
I use the fleury i2cmaster library for this. (http://homepage.hispeed.ch/peterfleury/ ... tware.html)
Thanks for the help.

