mirror of
https://github.com/xushoucai/RTL8710_SDK_GCC_VERSION.git
synced 2024-11-23 21:14:17 +00:00
905d81784e
including cross compilation of the installation, compile, link, run, debug, and so on. SDK implementation of the function: 1, WiFi connection settings (including AP mode and STA mode). 2, peripheral resource control (including GPIO, SPI, UART, IIC, etc.). 3, the user uses the sample method.
13 lines
278 B
C
13 lines
278 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
|