"Get" Functions
The IO Pi Plus is a 32 channel MCP23017 GPIO expander for the Raspberry Pi
03/11/2017
Posted by:
RichieRogers
Any chance of adding the following functions to get the current config in C# apps?
Or, some sort of "raw" Get function that can return various register states, so I could then write my own functionality?
GetPinDirection
GetPinPullUp
There are times when I need to change the config of a pin and having the functionality to identify what its current config is would be useful to me.
Thanks,
Richie
03/11/2017
Posted by:
andrew
I have added the new functions for GetPinDirection and GetPinPullUp to the IO Pi class. I also added a GetRegister function so you can get the value of any register in the MCP23017 IO controller.
The updated library is available on GitHub or from NuGet using the following command:
Install-Package ABElectronics_Win10IOT_Libraries -Version 1.2.6516.18829
03/11/2017
Posted by:
RichieRogers
You are brilliant, thanks so much for this.
Richie
Forum Notice – Closure to New Posts
As part of our compliance with the UK’s Online Safety Act, the AB Electronics UK support forum is now closed to new posts and replies.
We understand the importance of continued support for our products, so if you have a technical query or require assistance, please use the Contact Form or consult our Knowledge Base for helpful articles and documentation.
We appreciate your understanding and continued support.
Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.