Skip to main content

PinValueChangedEventArgs Class

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

Arguments for the .NET IoT pin-change callback.

public sealed class PinValueChangedEventArgs : EventArgs

Constructors

PinValueChangedEventArgs(PinEventTypes changeType, int pinNumber)

public PinValueChangedEventArgs(PinEventTypes changeType, int pinNumber)

Creates the event arguments.

Properties

ChangeType

public PinEventTypes ChangeType { get; }

The edge that occurred.

PinNumber

public int PinNumber { get; }

The pin that changed.