Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPIO on Windows 11 not working #52

Open
xhorack opened this issue Jan 26, 2024 · 0 comments
Open

GPIO on Windows 11 not working #52

xhorack opened this issue Jan 26, 2024 · 0 comments

Comments

@xhorack
Copy link

xhorack commented Jan 26, 2024

Dear sirs,
i recently installed WOR to RPI4-8GB, but no GPIO device can be found in device manager.
rpi

Windows is version 11 Pro 23H2 build 22631.3085

I tried build a demo project in c# to test if GPIO is accessible:

using System.Device.Gpio;
using var controller = new GpioController();
controller.OpenPin(21, PinMode.InputPullUp);

but when i run code, it fails with error:
System.PlatformNotSupportedException: 'In order to use Windows10Driver on Windows with .NET 5.0 it is required for your application to target net6.0-windows10.0.17763.0 or higher. Please add that to your target frameworks in your project file.'

Can you confirm me your successful test to access to GPIO using .NET on WOR?

Thanks,
Petr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant