AHT20 Sensor Command Writing Function in C
// Write the 'AHT_DEVICE_TEST_CMD' command to the AHT20 sensor // with the 'AHT_DEVICE_PARAM_HIGH_BYTE' as the high byte and // 'AHT_DEVICE_PARAM_LOW_BYTE' as the low byte for the parameter. // The return value of this function is stored in the status variable. status = aht20_write(AHT_DEVICE_TEST_CMD, AHT_DEVICE_PARAM_HIGH_BYTE, AHT_DEVICE_PARAM_LOW_BYTE);
原文地址: http://www.cveoy.top/t/topic/irCr 著作权归作者所有。请勿转载和采集!