PolskiBudyn
Posts: 1
Joined: Thu May 13, 2021 12:18 am

.net framework support gpio

Thu May 13, 2021 12:26 am

hello i need help. Looking for some visual studio solution / library to handle gpio ports on raspberry. I found a library for .net core but visual studio doesn't want to work. I found a few others but each of them had similar problems or lack of documentation. It would be useful for me if someone had a working library that would run in a "Windows forms app" project or knew some other way to make the "program" gui so easy to edit and handle c #. PS I'm sorry for any problems with understanding but I use google translator because I am a bit weak from poll :)

drtechno
Posts: 230
Joined: Fri Apr 09, 2021 6:33 pm

Re: .net framework support gpio

Thu May 13, 2021 11:49 pm

I don't know if anyone wants to support c# or any other microsoft proprietary cludge with xml.

Heater
Posts: 18194
Joined: Tue Jul 17, 2012 3:02 pm

Re: .net framework support gpio

Fri May 14, 2021 7:14 am

I'm no C# user but as far as I know GPIO on the Pi is supported by some libraries:
raspberryio: https://github.com/unosquare/raspberryio
https://www.nuget.org/packages/System.Device.Gpio/

Or what about: https://docs.microsoft.com/en-us/dotnet ... /blink-led

I would not worry about Visual Studio, you don't need an IDE to write software. Any editor will do.

That is not to say many features IDE's have are not very nice to have. For this reason I do all my code editing in Visual Studio Code (Known as VS Code or just "code" when you run it). Which is available in a package for the Pi and works very well.
Memory in C++ is a leaky abstraction .

ProjectMayu
Posts: 28
Joined: Sun Jul 01, 2012 8:58 am

Re: .net framework support gpio

Mon May 17, 2021 9:57 pm

Have a look at ETO Forms for your GUI

User avatar
neilgl
Posts: 3242
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near The National Museum of Computing

Re: .net framework support gpio

Mon May 17, 2021 11:36 pm

Maybe use guizero on the pi ?

Return to “Other programming languages”