"Get" Functions
1857 Views - Created 03/11/2017
03/11/2017
Posted by:
RichieRogers
Hi,
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
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
Hi Richie
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
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
Hi,
You are brilliant, thanks so much for this.
Richie
You are brilliant, thanks so much for this.
Richie
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.