Package com.diozero.api
Class GpioDevice
- java.lang.Object
-
- com.diozero.api.GpioDevice
-
- All Implemented Interfaces:
DeviceInterface
,AutoCloseable
- Direct Known Subclasses:
AnalogOutputDevice
,DigitalOutputDevice
,GpioInputDevice
,PwmOutputDevice
,Servo
public abstract class GpioDevice extends Object implements DeviceInterface
Abstract base class for all GPIO related devices.
-
-
Constructor Summary
Constructors Constructor Description GpioDevice(PinInfo pinInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getGpio()
Get the GPIO for this device-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.diozero.api.DeviceInterface
close
-
-