Searched refs:humi (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/ |
A D | dht11.js | 101 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 D | sensor_cloud_demo.c | 59 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 D | sensor_local_demo.c | 21 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 D | drv_temp_humi_st_hts221.c | 449 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 D | drv_temp_humi_si_si7006.c | 180 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 D | flower_app.c | 152 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