示例#1
0
 def __init__(self):
     nullsensor.__init__(self)
     self.addr = TMP102_ADDRESS_AD0_VCC
     self.sensorValid = True
示例#2
0
 def __init__(self):
     nullsensor.__init__(self)
     self.addr = MCP9808_ADDRESS_000
     self.sensorValid = True
示例#3
0
 def __init__(self):
     nullsensor.__init__(self)
     # set default address
     self.addr = ADXL345_ADDRESS_ALT_GND
     self.sensorValid = True
示例#4
0
 def __init__(self):
     nullsensor.__init__(self)
     self.temperature = 0
     self.humidity = 0
     self.sensorValid = True
示例#5
0
 def __init__(self):
     nullsensor.__init__(self)
     self.integrationTime = TSL2561_TIMING_INTEG101
     self.addr = TSL2561_ADDRESS_ADDR_FLOAT
     self.sensorValid = True