/Designs/Measuring_instruments/AWS01B/SW/Python/AWS_read.py
36,7 → 36,7
{"name": "barometer", "type": "altimet01" , "channel": 0, },
{"name": "hum_temp", "type": "sht25" , "channel": 1, },
# {"name": "wind_direction", "type": "mag01" , "channel": 1, },
{"name": "thermometer", "type": "lts01" , "channel": 2, },
# {"name": "thermometer", "type": "lts01" , "channel": 2, },
],
},
# {"name": "barometer2", "type": "altimet01" , "channel": 6, },
50,7 → 50,7
barometer = cfg.get_device("barometer")
hum_temp = cfg.get_device("hum_temp")
#wind_direction = cfg.get_device("wind_direction")
thermometer = cfg.get_device("thermometer")
#thermometer = cfg.get_device("thermometer")
time.sleep(0.5)
 
#### Data Logging ###################################################
65,7 → 65,8
(t1, p1) = barometer.get_tp()
hum_temp.route()
t2 = hum_temp.get_temp()
t3 = thermometer.get_temp()
# t3 = thermometer.get_temp()
t3 = -200
h1 = hum_temp.get_hum()