Package com.diozero.api
Interface DigitalInputDeviceInterface
- All Superinterfaces:
AutoCloseable
,DeviceInterface
- All Known Implementing Classes:
AbstractDigitalInputDevice
,Button
,DebouncedDigitalInputDevice
,DigitalInputDevice
,DigitalInputOutputDevice
,MotionSensor
,SmoothedInputDevice
,WaitableDigitalInputDevice
public interface DigitalInputDeviceInterface extends DeviceInterface
Base interface for devices with digital input.
-
Method Summary
Modifier and Type Method Description boolean
getValue()
Methods inherited from interface com.diozero.api.DeviceInterface
close
-
Method Details
-
getValue
- Throws:
RuntimeIOException
-