mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2024-11-27 08:40:28 +00:00
14 lines
265 B
C
14 lines
265 B
C
|
#ifndef SHTC1_H
|
||
|
#define SHTC1_H
|
||
|
|
||
|
#define NO_ERROR 0x00
|
||
|
#define ACK_ERROR 0x01
|
||
|
#define CHECKSUM_ERROR 0x02
|
||
|
#define NULL_ERROR 0x03
|
||
|
|
||
|
int SHTC_GetTempAndHumi(float *temp, float *humi);
|
||
|
int SHTC_Init(uint16_t *pID);
|
||
|
void example_shtc1(void);
|
||
|
|
||
|
#endif
|