Board.TryCreateBestGpioDriver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to create the best possible GPIO driver for this hardware.
protected virtual System.Device.Gpio.GpioDriver? TryCreateBestGpioDriver ();
abstract member TryCreateBestGpioDriver : unit -> System.Device.Gpio.GpioDriver
override this.TryCreateBestGpioDriver : unit -> System.Device.Gpio.GpioDriver
Protected Overridable Function TryCreateBestGpioDriver () As GpioDriver
Returns
An instance to the optimal Gpio Driver for this board, or null if none was found
Remarks
The base implementation will never return null, but create a dummy instance instead
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for