Searched refs:humi (Results 1 - 8 of 8) sorted by relevance
/vendor/hisilicon/hispark_pegasus/demo/i2caht20_demo/test/ |
H A D | aht20_test.c | 48 float temp = 0.0, humi = 0.0; in Aht20TestTask() local 53 retval = AHT20_GetMeasureResult(&temp, &humi); in Aht20TestTask() 54 printf("AHT20_GetMeasureResult: %u, temp = %.2f, humi = %.2f\r\n", retval, temp, humi); in Aht20TestTask()
|
/vendor/hisilicon/hispark_pegasus/demo/environment_test_demo/ |
H A D | aht20.h | 27 uint32_t AHT20_GetMeasureResult(float* temp, float* humi);
|
H A D | aht20.c | 187 uint32_t AHT20_GetMeasureResult(float* temp, float* humi) in AHT20_GetMeasureResult() argument 190 if (temp == NULL || humi == NULL) { in AHT20_GetMeasureResult() 216 *humi = humiRaw / (float)AHT20_RESLUTION * ONE_HUNDRED; in AHT20_GetMeasureResult()
|
/vendor/hisilicon/hispark_pegasus/demo/i2caht20_demo/src/ |
H A D | aht20.h | 32 uint32_t AHT20_GetMeasureResult(float* temp, float* humi);
|
H A D | aht20.c | 190 uint32_t AHT20_GetMeasureResult(float* temp, float* humi) in AHT20_GetMeasureResult() argument 193 if (temp == NULL || humi == NULL) { in AHT20_GetMeasureResult() 223 *humi = humiRaw / (float)AHT20_RESOLUTION * ONE_HUNDRED; in AHT20_GetMeasureResult()
|
/vendor/hisilicon/hispark_pegasus/demo/samart_environmental_monitoring_system_demo/environment/ |
H A D | aht20.h | 26 uint32_t AHT20_GetMeasureResult(float* temp, float* humi);
|
H A D | aht20.c | 177 uint32_t AHT20_GetMeasureResult(float* temp, float* humi) in AHT20_GetMeasureResult() argument 180 if (temp == NULL || humi == NULL) { in AHT20_GetMeasureResult() 208 *humi = humiRaw / (float)AHT20_RESLUTION * ONE_HUNDRED; in AHT20_GetMeasureResult()
|
/vendor/hisilicon/hispark_pegasus/demo/environment_demo/ |
H A D | app_demo_aht20.c | 136 float humi = 0; in Aht20Read() local 155 humi = (float)((recvData[BUFF_BIT_1] << IOT_BIT_12 | recvData[BUFF_BIT_2] << IOT_BIT_4) | in Aht20Read() 157 humiH = humi / AHT_CALCULATION * CONSTER_100; in Aht20Read()
|
Completed in 5 milliseconds