DummyGpioDriver.AddCallbackForPinValueChangedEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.