类 AbstractI2cDevice

java.lang.Object
cn.tpkf.rpi.devices.AbstractDevice
cn.tpkf.rpi.devices.i2c.AbstractI2cDevice
所有已实现的接口:
Device
直接已知子类:
Pcf8591

public abstract class AbstractI2cDevice extends AbstractDevice
I2C 设备
作者:
Harlan
  • 字段详细资料

    • i2C

      protected final com.pi4j.io.i2c.I2C i2C
      The I2C instance.
    • bus

      protected final Integer bus
      The bus.
    • device

      protected final Integer 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

      public String getDescription()
      从接口复制的说明: Device
      获取设备描述
      返回:
      设备描述