public interface GpioPinDigitalInput extends GpioPinDigital, GpioPinInput
| Modifier and Type | Method and Description | 
|---|---|
| int | getDebounce(PinState state)Gets the configured debounce delay interval (in milliseconds) for the given pin state. | 
| boolean | hasDebounce(PinState state)Determines if a debounce delay interval has been configured for the given pin state. | 
| void | setDebounce(int debounce)Sets the debounce delay interval (in milliseconds) for all pin states. | 
| void | setDebounce(int debounce,
           PinState... state)Sets the debounce delay interval (in milliseconds) for the specified pin state. | 
getState, isHigh, isLow, isStateaddTrigger, addTrigger, getTriggers, removeAllTriggers, removeTrigger, removeTriggeraddListener, addListener, clearProperties, export, export, getListeners, getMode, getName, getPin, getProperties, getProperty, getProperty, getProvider, getPullResistance, getShutdownOptions, getTag, hasListener, hasProperty, isExported, isMode, isPullResistance, removeAllListeners, removeListener, removeListener, removeProperty, setMode, setName, setProperty, setPullResistance, setShutdownOptions, setShutdownOptions, setShutdownOptions, setShutdownOptions, setShutdownOptions, setTag, unexportboolean hasDebounce(PinState state)
state - the pin state to test for debounce delay.int getDebounce(PinState state)
state - the pin state to get the configured debounce delay interval.void setDebounce(int debounce)
debounce - The debounce delay interval in milliseconds.void setDebounce(int debounce, PinState... state)
debounce - The debounce delay interval in milliseconds.state - The pin states to apply the debounce delay interval to.Copyright © 2012–2019 Pi4J. All rights reserved.