#!/usr/bin/env python
# get_dht11.py

# dht(pin,module_type), change module_type number to use other kind of dht
# module_type:
#             DHT11 0
#             DHT22 1
#             DHT21 2
#             DHT2301 3

from grovepi import *
import grove_oled 
#from grove_oled import *

dht_sensor_port = 7		# Connect the DHt sensor to port 7
[ temp,hum ] = dht(dht_sensor_port,0)		#Get the temperature and Humidity from the DHT sensor
print "temp =", temp, "C\thumadity =", hum,"%" 	

78e95f7f1f29fadc2410200e429b308e7df5c84e
#!/usr/bin/env python
# get_dht11.py

# dht(pin,module_type), change module_type number to use other kind of dht
# module_type:
#             DHT11 0
#             DHT22 1
#             DHT21 2
#             DHT2301 3

from grovepi import *
import grove_oled 
#from grove_oled import *

dht_sensor_port = 7		# Connect the DHt sensor to port 7
[ temp,hum ] = dht(dht_sensor_port,0)		#Get the temperature and Humidity from the DHT sensor
print "temp =", temp, "C\thumadity =", hum,"%" 	
