def get_data(self): self._check_refresh(1000) return (DHT11.temperature(self) * 1.8 + 32, DHT11.humidity(self))
def get_humidity(self): self._check_refresh(1000) return DHT11.humidity(self)
def get_data(self): self._check_refresh(1000) return (DHT11.temperature(self) * 1.8 + 32, DHT11.humidity(self))
def get_humidity(self): self._check_refresh(1000) return DHT11.humidity(self)