GpioPinValueChangedEventArgs
GpioPinValueChangedEventArgs
GpioPinValueChangedEventArgs
GpioPinValueChangedEventArgs
Class
Definition
Provides data about the GpioPin.ValueChanged event that occurs when the value of the general-purpose I/O (GPIO) pin changes, either because of an external stimulus when the pin is configured as an input, or when a value is written to the pin when the pin in configured as an output.
public : sealed class GpioPinValueChangedEventArgs : IGpioPinValueChangedEventArgspublic sealed class GpioPinValueChangedEventArgs : IGpioPinValueChangedEventArgsPublic NotInheritable Class GpioPinValueChangedEventArgs Implements IGpioPinValueChangedEventArgs// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows IoT Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Devices.DevicesLowLevelContract (introduced v1)
|
Remarks
GpioPinValueChangedEventArgs is passed to the event handler that you implement for the GpioPin.ValueChanged event.
Properties
Edge Edge Edge Edge
Gets the type of change that occurred to the value of the general-purpose I/O (GPIO) pin for the GpioPin.ValueChanged event.
public : GpioPinEdge Edge { get; }public GpioPinEdge Edge { get; }Public ReadOnly Property Edge As GpioPinEdge// You can use this property in JavaScript.
An enumeration value that indicates the type of change that occurred to the value of the GPIO pin for the GpioPin.ValueChanged event.
Additional features and requirements
| Device family |
Windows IoT Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Devices.DevicesLowLevelContract (introduced v1)
|
| Capabilities |
lowLevelDevices
|
- See Also