类 AbstractI2cDevice
java.lang.Object
cn.tpkf.rpi.devices.AbstractDevice
cn.tpkf.rpi.devices.i2c.AbstractI2cDevice
- 所有已实现的接口:
Device
- 直接已知子类:
Pcf8591
I2C 设备
- 作者:
- Harlan
-
字段概要
字段修饰符和类型字段说明protected final IntegerThe bus.protected final IntegerThe device.protected final com.pi4j.io.i2c.I2CThe I2C instance.从类继承的字段 cn.tpkf.rpi.devices.AbstractDevice
deviceManager, id, lock, name -
构造器概要
构造器限定符构造器说明protectedAbstractI2cDevice(DeviceManager deviceManager, String id, String name, Integer bus, Integer device) Creates an instance of the AbstractI2cDevice class. -
方法概要
从类继承的方法 cn.tpkf.rpi.devices.AbstractDevice
shutdown
-
字段详细资料
-
i2C
protected final com.pi4j.io.i2c.I2C i2CThe I2C instance. -
bus
The bus. -
device
The device.
-
-
构造器详细资料
-
AbstractI2cDevice
protected AbstractI2cDevice(DeviceManager deviceManager, String id, String name, Integer bus, Integer device) Creates an instance of the AbstractI2cDevice class.- 参数:
deviceManager- The DeviceManager instance.id- The ID of the device.name- The name of the device.bus- The bus.device- The device.
-
-
方法详细资料
-
getDescription
从接口复制的说明:Device获取设备描述- 返回:
- 设备描述
-