Edit

Share via


DummyGpioDriver.AddCallbackForPinValueChangedEvent Method

Definition

Adds a handler for a pin value changed event.

protected override void AddCallbackForPinValueChangedEvent (int pinNumber, System.Device.Gpio.PinEventTypes eventTypes, System.Device.Gpio.PinChangeEventHandler callback);
override this.AddCallbackForPinValueChangedEvent : int * System.Device.Gpio.PinEventTypes * System.Device.Gpio.PinChangeEventHandler -> unit
Protected Overrides 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