Skip to main content

GpioPinValueChangedEventHandler Delegate

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

Handler invoked when a GpioPin configured as an input observes a level change matching its GpioPin.ValueChangedEdge.

public delegate void GpioPinValueChangedEventHandler(GpioPin sender, GpioPinValueChangedEventArgs e);

Parameters

ParameterTypeDescription
senderGpioPinThe pin that detected the edge.
eGpioPinValueChangedEventArgsEdge direction and timestamp captured by the driver.