Edit

Share via


GpioDriver.AddCallbackForPinValueChangedEvent Method

Definition

Adds a handler for a pin value changed event.

protected internal abstract void AddCallbackForPinValueChangedEvent (int pinNumber, System.Device.Gpio.PinEventTypes eventTypes, System.Device.Gpio.PinChangeEventHandler callback);
abstract member AddCallbackForPinValueChangedEvent : int * System.Device.Gpio.PinEventTypes * System.Device.Gpio.PinChangeEventHandler -> unit
Protected Friend MustOverride Sub AddCallbackForPinValueChangedEvent (pinNumber As Integer, eventTypes As PinEventTypes, callback As PinChangeEventHandler)

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