資源簡介
(針對STM32開發)DHT10的I2C驅動源代碼,可以直接使用。
----------------
uint32_t DHT10_Init(void); //初始化DHT10
static uint8_t DHT10_Read_Cal_Enable(void); //查詢cal enable位有沒有使能
static uint32_t DHT10_MeasureTrigger(void); //發送測量命令
uint32_t DHT10_GetTHValue(uint32_t *THValue); //讀取濕度溫度數據
uint32_t DHT10_RESET(void); //reset
代碼片段和文件信息
- 上一篇:基于無線傳感網絡的矸石山自燃監測系統設計
- 下一篇:無人水下航行器UUV的技術發展
評論
共有 條評論