Skip to main content

PinEventTypes Enum

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

Edge selector for GpioController change notifications. Same shape as .NET IoT.

public enum PinEventTypes

Fields

NameValueDescription
None0No edge — returned by GpioController.WaitForEvent(int, PinEventTypes, TimeSpan) when it times out or is cancelled.
Rising1Rising edge (low → high).
Falling2Falling edge (high → low).