Share via


IGpioPinProvider.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 = iGpioPinProvider.debounceTimeout;
iGpioPinProvider.debounceTimeout = timeSpan;
Public Property DebounceTimeout As TimeSpan

Property Value

The debounce timeout for the GPIO pin, which is an interval during which changes to the value of the pin are filtered out and do not generate ValueChanged events. If the length of this interval is 0, all changes to the value of the pin generate ValueChanged events.

Applies to