Skip to main content

GpioPinEdge Enum

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

Which edges trigger the GpioPin.ValueChanged event. The flags can be combined to fire on both edges.

public enum GpioPinEdge

Fields

NameValueDescription
FallingEdge1Fire when the input transitions from high to low.
RisingEdge2Fire when the input transitions from low to high.