Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant