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