About Us Knowledge Base Community Forum Electronics Toolbox FAQ Shipping & Delivery

Community Forum

Share your projects and post your questions

Search
Register or Sign In
Forum

"Get" Functions

1078 Views - Created 03/11/2017

03/11/2017

Posted by:
RichieRogers

Users Avatar

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

03/11/2017

Posted by:
andrew

Users Avatar

Location:
United Kingdom

Users Twitter  Users Website  

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 

AB Electronics UK Tech Support

03/11/2017

Posted by:
RichieRogers

Users Avatar

Hi,

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.