def __init__(self): sensor_base.__init__(self) self.I2C_SAD_LIST = [0x1E, 0x1F, 0x1C, 0x1D] # for KX124 self.SPI_SUPPORT = True self.I2C_SUPPORT = True self.INT_PINS = [1,2]
def __init__(self): sensor_base.__init__(self) self.I2C_SAD_LIST = [0x5B] self.I2C_SUPPORT = True self.INT_PINS = [1, 2] self._registers = dict(r.__dict__) self._dump_range = (r.BH1790_MANUFACTURER_ID, r.BH1790_DATAOUT_LEDON_H)
def __init__(self): sensor_base.__init__(self) self.I2C_SAD_LIST = [0x29] self.I2C_SUPPORT = True self.INT_PINS = [1, 2] self._registers = dict(r.__dict__) self._dump_range = (r.BH1730_CONTROL, r.BH1730_DATA1HIGH)
def __init__(self): sensor_base.__init__(self) self.I2C_SAD_LIST = [0x1D, 0x1E] self.SPI_SUPPORT = False self.I2C_SUPPORT = True self.INT_PINS = [1, 2] self._registers = dict(r.__dict__) self._dump_range = (r.KXCNL_CNTL1, r.KXCNL_OUTS2)
def __init__(self): sensor_base.__init__(self) self.I2C_SAD_LIST = [0x0E, 0x0F] self.SPI_SUPPORT = False self.I2C_SUPPORT = True self.INT_PINS = [1] self._registers = dict(r.__dict__) self._dump_range = (r.KXTJ3_WHO_AM_I, r.KXTJ3_WAKEUP_THRESHOLD_L)
def __init__(self): sensor_base.__init__(self) self.I2C_SAD_LIST = [0x4E, 0x4F] self.SPI_SUPPORT = True self.I2C_SUPPORT = True self.INT_PINS = [1, 2] # configurations to register_dump() self._registers = dict(r.__dict__) self._dump_range = (r.KXG08_WHO_AM_I, r.KXG08_BUF_STATUS)
def __init__(self): sensor_base.__init__(self) self.I2C_SAD_LIST = [0x0E, 0x0F] self.I2C_SPI_SUPPORT = False self.I2C_SUPPORT = True self.INT_PINS = [1, 2] # configurations to register_dump() self._registers = dict(r.__dict__) self._dump_range = (r.KMX62_INC1, r.KMX62_BUF_CTRL_3)
def __init__(self): sensor_base.__init__(self) self.I2C_SAD_LIST = [0x38, 0x39] self.I2C_SUPPORT = True """ BH1749 has only one interrupt, but it can be connected to either of aardvark gpio pins.""" self.INT_PINS = [1] # configurations to register_dump() self._registers = dict(r.__dict__) self._dump_range = (r.BH1749_REGISTER_DUMP_START, r.BH1749_REGISTER_DUMP_END) return
def __init__(self): sensor_base.__init__(self) self.I2C_SAD_LIST = [0x0f, 0x0e] self.I2C_SUPPORT = True self.INT_PINS = [ 1, 2 ] #bm1422gmv has only one drdy, but it can be connected to either of aardvark gpio pins. # configurations to register_dump() self._registers = dict(r.__dict__) self._dump_range = (r.BM1422GMV_REGISTER_DUMP_START, r.BM1422GMV_REGISTER_DUMP_END) return
def __init__(self): sensor_base.__init__(self) self.I2C_SAD_LIST = [0x1E, 0x1F] # self.SPI_SUPPORT = True self.I2C_SUPPORT = True self.INT_PINS = [1, 2]
def __init__(self): sensor_base.__init__(self) self.I2C_SAD_LIST = [0x5d] self.SPI_SUPPORT = False self.I2C_SUPPORT = True self.INT_PINS = [1,2] #bm1383aglv has only one drdy, but it can be connected to either of aardvark gpio pins.