This repository has been archived on 2025-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
|
#ifndef __SHT40_H
|
|
#define __SHT40_H
|
|
#include "main.h"
|
|
|
|
void sht40_init(void); ///< 初始化 SHT40 传感器
|
|
void sht40_dinit(void); ///< 反初始化 SHT40 传感器
|
|
BOOL sht40_read(float32 *temperature, float32 *humidity); ///< 读取温湿度传感器数据
|
|
|
|
#endif ///< !__SHT40_H
|