Line 97... |
Line 97... |
97 |
float barometer_temperature, barometer_pressure; |
97 |
float barometer_temperature, barometer_pressure; |
98 |
|
98 |
|
99 |
delay_ms(100); |
99 |
delay_ms(100); |
100 |
{ // printf |
100 |
{ // printf |
101 |
|
101 |
|
102 |
// local_temp = ds1820_read()+273.15; |
102 |
local_temp = ds1820_read()+273.15; |
103 |
sht_rd(SHT_temp,SHT_hum); |
103 |
sht_rd(SHT_temp,SHT_hum); |
104 |
SHT_temp += 273.15; |
104 |
SHT_temp += 273.15; |
105 |
// barometer_temperature = MPL_get_temperature() + 273.15; |
105 |
// barometer_temperature = MPL_get_temperature() + 273.15; |
106 |
// barometer_pressure = MPL_get_pressure() * 10.0; // conversion to hectopascals |
106 |
// barometer_pressure = MPL_get_pressure() * 10.0; // conversion to hectopascals |
107 |
|
107 |
|