Closed SaschaIoT closed 6 years ago
Here some additional informations.
I am using a C# UWP app with following references:
Windows Desktop Extensions for the UWP 15063 Windows IoT Extensions for the UWP 15063
and the NuGet library:
Microsoft.IoT.Lightning latest stable 1.1.0
I use the new MinnowBoard Turbot Quad Core with: Windows IoT Core 15063.0
Thanks and best regards Sascha
The ValueChanged event is working with Raspberry Pi 3 Model B and Windows IoT Core 15063 without any problems. So I guess it is a bug in the library in combination with the MinnowBoard.
This should be fixed with PR #52
Thanks @matt1va for submitting the fix. Closing now.
Hello together,
the ValueChanged event of a GPIO Pin gets never called using the lightning providers with MinnowBoard MAX.
Is the ValueChanged event still not supported with MinnowBoard MAX and Windows IoT Core 15063.0?
LowLevelDevicesController.DefaultProvider = LightningProvider.GetAggregateProvider(); var gpioController = GpioController.GetDefault(); var pin = gpioController.OpenPin(0); pin.SetDriveMode(GpioPinDriveMode.Input); pin.ValueChanged += (gpioPin, args) => { //Gets never called };