question

SheejaVarghese-6072 avatar image
0 Votes"
SheejaVarghese-6072 asked JarvanZhang-MSFT commented

How to control gpio to display led lights with xamarin.android ?

I want to create an android application with xamarin.Android in which I can control GPIO pin to display LED. Can anyone please help to do that?

Thanks in Advance

dotnet-csharpdotnet-xamarin
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,SheejaVarghese. Xamarin.Android doesn't provide the Android Things api. To control the gpio programmatically, you could bind the Peripheral I/O Library to your project to use GPIO api.

Here is the related doc: https://docs.microsoft.com/en-us/xamarin/android/platform/binding-java-library/

0 Votes 0 ·

0 Answers