Loggy_McLogger/Core/Inc/sht_40.h

28 lines
585 B
C
Raw Normal View History

2024-06-24 20:13:52 -05:00
/**
*********************************************************************
*
* @file sht_40.h
* @brief SHT40 driver header file
*
* @date 2024-04-14 19:18:15
* @author CT
*
* @details Provides functions to interact with the SHT40 temperature and
* humidity sensor.
*
*************************************************************************
**/
#ifndef _SHT_40_H_
#define _SHT_40_H_
uint32_t sht40_init(I2C_HandleTypeDef *hi2c);
uint32_t sht40_read(void);
float sht40_get_rh(void);
float sht40_get_temp_C(void);
float sht40_get_temp_F(void);
#endif // _SHT_40_H_