Home
last modified time | relevance | path

Searched refs:humi (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/
A Ddht11.js101 var i, humi, temp;
111 humi = buf[0];
119 return [temp, humi];
142 var humi = 0, data;
146 humi = data[1]
149 return humi;
/AliOS-Things-master/components/sensor/example/
A Dsensor_cloud_demo.c59 humidity_data_t humi; in sensor_cloud_test_start() local
62 ret = sensor_hal_read(TAG_DEV_HUMI, 0, &humi, sizeof(humi)); in sensor_cloud_test_start()
65 printf("Humidity value : %.1f H\n", ((float)humi.h)/10); in sensor_cloud_test_start()
70 sprintf(param, PROP_POST_FORMAT_HUMI, ((float)humi.h)/10); in sensor_cloud_test_start()
A Dsensor_local_demo.c21 humidity_data_t humi; in sensor_local_test() local
52 ret = sensor_hal_read(TAG_DEV_HUMI, 0, &humi, sizeof(humi)); in sensor_local_test()
54 printf("Humidity value : %.1f H\r\n", ((float)humi.h)/10); in sensor_local_test()
/AliOS-Things-master/components/sensor/drv/
A Ddrv_temp_humi_st_hts221.c449 int16_t humi; in drv_humi_st_hts221_read() local
478 humi = in drv_humi_st_hts221_read()
480 humi *= 10; in drv_humi_st_hts221_read()
481 humi = (humi > 1000) ? 1000 : (humi < 0) ? 0 : humi; in drv_humi_st_hts221_read()
483 humi /= 10; in drv_humi_st_hts221_read()
485 data[1] = humi >> 8; in drv_humi_st_hts221_read()
486 data[0] = humi & 0x0FF; in drv_humi_st_hts221_read()
A Ddrv_temp_humi_si_si7006.c180 float humi; in drv_humi_si_si7006_read() local
215 humi = ((125.0f * (float)value) / 65535.0f) - 6.0f; in drv_humi_si_si7006_read()
216 LOG("%s humidity: %2f\n", SENSOR_STR, humi); in drv_humi_si_si7006_read()
217 pdata->h = (int)(humi * 10); in drv_humi_si_si7006_read()
/AliOS-Things-master/solutions/flower_demo/
A Dflower_app.c152 uint8_t DHT11_Read_Data(uint8_t *temp,uint8_t *humi) in DHT11_Read_Data() argument
164 *humi = buf[0]; in DHT11_Read_Data()

Completed in 7 milliseconds