Share via


GpioPin.DebounceTimeout Property

Definition

Gets or sets the debounce timeout for the general-purpose I/O (GPIO) pin, which is an interval during which changes to the value of the pin are filtered out, and do not generate ValueChanged events.

public:
 property TimeSpan DebounceTimeout { TimeSpan get(); void set(TimeSpan value); };
TimeSpan DebounceTimeout();

void DebounceTimeout(TimeSpan value);
public System.TimeSpan DebounceTimeout { get; set; }
var timeSpan = gpioPin.debounceTimeout;
gpioPin.debounceTimeout = timeSpan;
Public Property DebounceTimeout As TimeSpan

Property Value

The debounce timeout (of type TimeSpan) for the GPIO pin. If the length of this interval is 0, then all changes to the value of the pin generate ValueChanged events.

Windows requirements

App capabilities
lowLevel

Applies to

See also