Home
last modified time | relevance | path

Searched refs:temperature (Results 1 – 25 of 35) sorted by relevance

12

/AliOS-Things-master/hardware/board/haaseduk1/drivers/sensor/
A Ddrv_temp_humi_si_si7006.c66 bool si7006_getTemperature(float *temperature) in si7006_getTemperature() argument
79 *temperature = (175.72f * (float)value) / 65536.0f - 46.85f; in si7006_getTemperature()
80 LOGI("SENDOR", "temperature: %2f\n", *temperature); in si7006_getTemperature()
120 void si7006_getTempHumidity(float *humidity, float *temperature) in si7006_getTempHumidity() argument
122 si7006_getTemperature(temperature); in si7006_getTempHumidity()
A Ddrv_temp_humi_sensylink_cht8305.c37 void cht8305_getTempHumidity(float *humidity, float *temperature) in cht8305_getTempHumidity() argument
52 *temperature = (165.0f * (float)cht8305_temp) / 65536.0f - 40.0f; in cht8305_getTempHumidity()
53 LOGD("SENDOR", "temperature: %2f\n", *temperature); in cht8305_getTempHumidity()
A Ddrv_temp_humi_si_si7006.h32 extern bool si7006_getTemperature(float *temperature);
34 extern void si7006_getTempHumidity(float *humidity, float *temperature);
/AliOS-Things-master/components/amp/test/
A Dtest_DS18B20.js25 var temperature; variable
30 temperature = DS18B20.getTemperature();
33 console.log("Temperature is: " , temperature);
A Dtest_si7006.js27 var temperature = si7006.getTemperature(); variable
28 console.log("Temperature is: " , temperature);
/AliOS-Things-master/solutions/javascript_demo/board/haas600/
A Dds18b20.js26 var temperature; variable
31 temperature = DS18B20.getTemperature();
34 console.log("Temperature is: " , temperature);
/AliOS-Things-master/solutions/javascript_demo/board/haas-edu-k1/
A Dds18b20.js26 var temperature; variable
31 temperature = DS18B20.getTemperature();
34 console.log("Temperature is: " , temperature);
/AliOS-Things-master/solutions/javascript_demo/board/haas100/
A Dds18b20.js26 var temperature; variable
31 temperature = DS18B20.getTemperature();
34 console.log("Temperature is: " , temperature);
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/humiture/
A Dhumiture.md159 bool si7006_getTemperature(float *temperature)
170 // A temperature measurement will always return XXXXXX00 in the LSB field.
173 *temperature = (175.72f * (float)value) / 65536.0f - 46.85f;
174 LOGI("APP", "temperature: %2f \n", *temperature);
219 void si7006_getTempHumidity(float *humidity, float *temperature)
221 si7006_getTemperature(temperature);
/AliOS-Things-master/components/sensor/drv/
A Ddrv_temp_humi_sensirion_sht30.c50 int32_t temperature; member
104 static int drv_sht30_read_temp_and_humi(i2c_dev_t *drv, int32_t *temperature, uint32_t *humidity) in drv_sht30_read_temp_and_humi() argument
111 if (temperature == NULL && humidity == NULL) in drv_sht30_read_temp_and_humi()
122 if (temperature != NULL) in drv_sht30_read_temp_and_humi()
123 *temperature = (int32_t)((21875 * temp_raw) >> 13) - 45000; in drv_sht30_read_temp_and_humi()
138 …ret = drv_sht30_read_temp_and_humi(drv, &g_sht30_data_new.temperature, &g_sht30_data_new.humidity); in drv_sht30_update_data()
185 pdata->t = g_sht30_data_new.temperature / 100.0f; in drv_temp_sensirion_sht30_read()
A Ddrv_temp_humi_sensirion_sht31.c50 int32_t temperature; member
104 static int drv_sht31_read_temp_and_humi(i2c_dev_t *drv, int32_t *temperature, uint32_t *humidity) in drv_sht31_read_temp_and_humi() argument
111 if (temperature == NULL && humidity == NULL) in drv_sht31_read_temp_and_humi()
122 if (temperature != NULL) in drv_sht31_read_temp_and_humi()
123 *temperature = (int32_t)((21875 * temp_raw) >> 13) - 45000; in drv_sht31_read_temp_and_humi()
138 …ret = drv_sht31_read_temp_and_humi(drv, &g_sht31_data_new.temperature, &g_sht31_data_new.humidity); in drv_sht31_update_data()
185 pdata->t = g_sht31_data_new.temperature / 100.0f; in drv_temp_sensirion_sht31_read()
A Ddrv_temp_humi_sensirion_shtc1.c52 int32_t temperature; member
136 static int drv_shtc1_read_temp_and_humi(i2c_dev_t *drv, int32_t *temperature, in drv_shtc1_read_temp_and_humi() argument
144 if (temperature == NULL && humidity == NULL) { in drv_shtc1_read_temp_and_humi()
156 if (temperature != NULL) { in drv_shtc1_read_temp_and_humi()
157 *temperature = (int32_t)((21875 * temp_raw) >> 13) - 45000; in drv_shtc1_read_temp_and_humi()
174 ret = drv_shtc1_read_temp_and_humi(drv, &g_data_new.temperature, in drv_shtc1_update_data()
252 pdata->t = g_data_new.temperature / 100; in drv_temp_sensirion_shtc1_read()
A Ddrv_temp_humi_ams_ens210.c126 int32_t temperature; member
171 static int drv_ens210_read_temp_and_humi(i2c_dev_t* drv, int32_t *temperature, uint32_t *humidity) in drv_ens210_read_temp_and_humi() argument
196 if (temperature == NULL && humidity == NULL) in drv_ens210_read_temp_and_humi()
237 *temperature = (int32_t)(TinC*10); // Temperature in Celsius in drv_ens210_read_temp_and_humi()
257 … ret = drv_ens210_read_temp_and_humi(drv, &g_ens210_data.temperature, &g_ens210_data.humidity); in drv_ens210_update_data()
394 …ret = drv_ens210_read_temp_and_humi(&ens210_ctx, &g_ens210_data.temperature, &g_ens210_data.humidi… in drv_temp_ams_ens210_read()
398 pdata->t = g_ens210_data.temperature; in drv_temp_ams_ens210_read()
462 …ret = drv_ens210_read_temp_and_humi(&ens210_ctx, &g_ens210_data.temperature, &g_ens210_data.humidi… in drv_humi_ams_ens210_read()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/utils/pm/
A Dmodule_battery.c67 int temperature; in native_battery_temperature_get() local
69 if (aos_battery_temperature_get(&temperature)) { in native_battery_temperature_get()
74 ret = temperature; in native_battery_temperature_get()
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/i2c/
A Dtest_si7006.py27 temperature = si7006Dev.getTemperature() variable
28 print("The temperature is: %f" % temperature)
/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/driver/i2c/
A Dtest_si7006.py27 temperature = si7006Dev.getTemperature() variable
28 print("The temperature is: %f" % temperature)
/AliOS-Things-master/components/amp/modules/
A Dsi7006.js93 var temperature;
102 temperature = ((175.72 * value) / 65536.0) - 46.85;
103 return temperature;
/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/
A Dapp.js43 var temperature = 25.0; variable
118 temperature = bmp280.bmp280TemperatureRead();
121 console.log('Temperature is ' + temperature + ' Pressure is ' + pressure);
124 CurrentTemperature: temperature
167 …Coil: fanSwitch, CurrentTemperature: temperature, WaterOutletSwitch: waterSwitch, Buzzer: beepSwit…
A Dbmp280.js106 var temperature = INVALID_TEMP;
114 temperature = ((ta + tb) * 5 + 128) >> 8;
115 temperature /= 100;
120 return temperature;
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/sig_model/cli/
A Dlight_ctl_cli.c93 net_buf_simple_add_le16(msg, send_arg->temperature); in ble_mesh_light_ctl_set()
114 …s %x,temp %x, delta uv %x, TID %x,trans %x,delay %x", send_arg->lightness, send_arg->temperature, \ in ble_mesh_light_ctl_set()
177 net_buf_simple_add_le16(msg, send_arg->temperature); in ble_mesh_light_ctl_temp_set()
199 … LOGI(TAG, "light ctl set temp %x, delta uv %x, TID %x,trans %x,delay %x", send_arg->temperature, \ in ble_mesh_light_ctl_temp_set()
261 net_buf_simple_add_le16(msg, send_arg->temperature); in ble_mesh_light_ctl_def_set()
276 …tness %x, temperature %x, delta_uv %x", send_arg->lightness, send_arg->temperature, send_arg->delt… in ble_mesh_light_ctl_def_set()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodbattery.c107 int temperature; in obj_getTemperature() local
118 LOGD(LOG_TAG, "%s: temperature = %d;\n", __func__, temperature); in obj_getTemperature()
120 return MP_ROM_INT(temperature); in obj_getTemperature()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmodbattery.c113 int temperature; in obj_getTemperature() local
125 LOGD(LOG_TAG, "%s: temperature = %d;\n", __func__, temperature); in obj_getTemperature()
127 return MP_ROM_INT(temperature); in obj_getTemperature()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmodbattery.c113 int temperature; in obj_getTemperature() local
125 LOGD(LOG_TAG, "%s: temperature = %d;\n", __func__, temperature); in obj_getTemperature()
127 return MP_ROM_INT(temperature); in obj_getTemperature()
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/barometer/
A Dbarometer.c51 sprintf(Ctemp_str, "%-5.2lf", p_qmp6988_data.temperature); in barometer_task()
53 sprintf(Ftemp_str, "%-5.2lf", ((p_qmp6988_data.temperature * 9 / 5) + 32)); in barometer_task()
/AliOS-Things-master/components/py_engine/framework/
A Dsi7006.py85 temperature = (175.72 * value) / 65536.0 - 46.85
86 return temperature

Completed in 23 milliseconds

12