Skip to main content

LibGpiodDriver Class

NuGet: GHIElectronics.TinyCLR.Devices.Gpio
Assembly: System.Device.Gpio
Namespace: System.Device.Gpio.Drivers

Alias of TinyClrGpioDriver for source-compatibility with Linux .NET IoT samples that reference LibGpiodDriver.

public sealed class LibGpiodDriver : System.Device.Gpio.TinyClrGpioDriver

Constructors

LibGpiodDriver(int chipNumber)

public LibGpiodDriver(int chipNumber) : base(CalculatePinBase(chipNumber))

Creates a driver for the given GPIO chip number.

Properties

ChipNumber

public int ChipNumber { get; }

The GPIO chip number this driver maps onto.