示例#1
0
def other_sensor():
    humidity = hdc.readHDC_humidity()
    logfile.write("\nHumidity  = ")
    logfile.write(str(humidity))

    temperature = hdc.readHDC_temp()
    logfile.write("\nTemperature  = ")
    logfile.write(str(temperature))

    pressure = lph.getPressure()
    logfile.write("\nPressure  = ")
    logfile.write(str(pressure))
示例#2
0
def other_sensor():
    humidity = hdc.readHDC_humidity()
    temperature = hdc.readHDC_temp()
    pressure = lph.getPressure()
示例#3
0
    def met_sensors(self):

        humidity = hdc.readHDC_humidity()
        temperature = hdc.readHDC_temp()
        pressure = lph.getPressure()
        return temperature, humidity, pressure