Package com.diozero.api
Interface DeviceInterface
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
AnalogInputDeviceInterface
,AnalogOutputDeviceInterface
,BarometerInterface
,DigitalInputDeviceInterface
,DistanceSensorInterface
,GpioDeviceInterface
,GpioDigitalDeviceInterface
,GpioDigitalInputDeviceInterface
,GpioDigitalInputOutputDeviceInterface
,GpioDigitalOutputDeviceInterface
,GpioExpander
,HygrometerInterface
,I2CDeviceInterface
,I2CSMBusInterface
,InternalDeviceInterface
,InternalI2CDeviceInterface
,InternalSerialDeviceInterface
,InternalSpiDeviceInterface
,LuminositySensorInterface
,MotorInterface
,PwmOutputDeviceInterface
,SensorInterface
,SerialDeviceInterface
,SpiDeviceInterface
,ThermometerInterface
- All Known Implementing Classes:
AbstractDevice
,AbstractDigitalInputDevice
,AbstractInputDevice
,Ads112C04
,Ads1x15
,AnalogInputDevice
,AnalogOutputDevice
,BH1750
,BME280
,BME680
,BME68x
,BMP180
,Button
,Buzzer
,CamJamKitDualMotor
,ColourSsdOled
,DebouncedDigitalInputDevice
,DefaultNativeSerialDevice
,DefaultNativeSpiDevice
,DigitalInputDevice
,DigitalInputOutputDevice
,DigitalMotor
,DigitalOutputDevice
,DualMotor
,GP2Y0A21YK
,GpioDevice
,GpioInputDevice
,HCSR04
,HCSR04UsingEvents
,HCSR04UsingWait
,HD44780Lcd
,HTS221
,I2CDevice
,Keypad
,LDR
,LED
,LedBarGraph
,LM73
,LPS25H
,Max30102
,MCP23008
,MCP23017
,MCP23S17
,MCP23x08
,MCP23x17
,MCP23xxx
,MCP23xxxDigitalInputDevice
,MCP23xxxDigitalInputOutputDevice
,MCP23xxxDigitalOutputDevice
,McpAdc
,McpEeprom
,MFRC522
,MotionSensor
,MotorBase
,NativeGpioInputDevice
,NativeGpioInputOutputDevice
,NativeGpioOutputDevice
,NativeI2CDeviceJavaRaf
,NativeI2CDeviceSMBus
,OdroidC2SysFsPwmOutputDevice
,PCA9685
,PCF8574
,PCF8591
,PiconZero
,PiconZero.PiconZeroAnalogInputDevice
,PiconZero.PiconZeroAnalogOutputDevice
,PiconZero.PiconZeroDigitalInputDevice
,PiconZero.PiconZeroDigitalOutputDevice
,PiconZero.PiconZeroPwmOutputDevice
,PiconZeroMotor
,Potentiometer
,PwmLed
,PwmLedBarGraph
,PwmMotor
,PwmOutputDevice
,RgbLed
,RgbPwmLed
,RyanteckDualMotor
,SerialDevice
,Servo
,SGP30
,SilentStepStick
,SmoothedInputDevice
,SoftwarePwmOutputDevice
,SpiDevice
,SSD1306
,SSD1331
,SSD1351
,SsdOled
,ST7735
,ST77xx
,SysFsAnalogInputDevice
,SysFsDigitalInputDevice
,SysFsDigitalInputOutputDevice
,SysFsDigitalOutputDevice
,SysFsPwmOutputDevice
,TB6612FNGDualMotorDriver
,TB6612FNGMotor
,TCS3200
,TMP36
,TSL2561
,VL6180
,W1ThermSensor
public interface DeviceInterface extends AutoCloseable
-
Method Summary
Modifier and Type Method Description void
close()
Close this device
-
Method Details
-
close
Close this device- Specified by:
close
in interfaceAutoCloseable
- Throws:
RuntimeIOException
-