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))
def other_sensor(): humidity = hdc.readHDC_humidity() temperature = hdc.readHDC_temp() pressure = lph.getPressure()
def met_sensors(self): humidity = hdc.readHDC_humidity() temperature = hdc.readHDC_temp() pressure = lph.getPressure() return temperature, humidity, pressure