Ft4222Gpio.AddCallbackForPinValueChangedEvent Method

Definition

Adds a handler for a pin value changed event.

C#
protected override void AddCallbackForPinValueChangedEvent (int pinNumber, System.Device.Gpio.PinEventTypes eventTypes, System.Device.Gpio.PinChangeEventHandler callback);

Parameters

pinNumber
Int32

The pin number in the driver's logical numbering scheme.

eventTypes
PinEventTypes

The event types to wait for.

callback
PinChangeEventHandler

Delegate that defines the structure for callbacks when a pin value changed event occurs.

Applies to

Produkt Verzie
.NET IoT Libraries 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0