Skip to content

Commit

Permalink
[#11] Add and implement the measurement of temperature and humidity
Browse files Browse the repository at this point in the history
- try fixing imports
  • Loading branch information
Thomas Kaulke authored and Thomas Kaulke committed Dec 4, 2018
1 parent f21ae0d commit 2effbcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/dht.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
sensor = Adafruit_DHT.DHT22
pin = conf.DHT_PIN

global temperature
global humidity
#global temperature
#global humidity

def getValues():
humidity, temperature = Adafruit_DHT.read_retry(sensor, pin)
Expand Down

0 comments on commit 2effbcb

Please sign in to comment.