I'm trying to use this library but I get the following error:
The type Windows.Devices.Radios.nRF24L01P.Logging.DebugOutLoggerFactoryAdapter does not have a constructor that takes the parameters (String).
here's my code:
private void OnLoaded(object sender, RoutedEventArgs routedEventArgs)
{
GpioController gpioController = GpioController.GetDefault();
_cePin = gpioController.InitGpioPin(22, GpioPinDriveMode.Output);
_powerPin = gpioController.InitGpioPin(24, GpioPinDriveMode.Output);
DeviceInformationCollection devicesInfo = DeviceInformation.FindAllAsync(SpiDevice.GetDeviceSelector("SPI0")).GetAwaiter().GetResult();
_spiDevice = SpiDevice.FromIdAsync(devicesInfo[0].Id, new SpiConnectionSettings(0)).GetAwaiter().GetResult();
_commandProcessor = new CommandProcessor(_spiDevice);
_radio = new Radio(_commandProcessor, _powerPin, _cePin);
Debug.WriteLine(_radio.GetArduinoDetails());
}
the error throws on
_radio = new Radio(_commandProcessor, _powerPin, _cePin);