#include "stm32l4xx.h"



#ifndef stepkaj_SHT31_h
#define stepkaj_SHT31_h

#define SHT31_ADDRESS	(uint8_t) 0x88

#define SHT31_CMD_READ     			 ((uint8_t[]){0x2C, 0x10})
#define SHT31_CMD_RESET    			 ((uint8_t[]){0x30, 0xA2})
#define SHT31_CMD_STATUS   			 ((uint8_t[]){0xF3, 0x2D})
#define SHT31_CMD_CLEAR_STATUS   ((uint8_t[]){0xF3, 0x2D})
void SHT31_init(void);
int16_t SHT31_ReadTRH(uint16_t* T, uint16_t* RH);

#endif
