13 lines
176 B
C
13 lines
176 B
C
|
#ifndef DS18B20_H
|
|||
|
#define DS18B20_H
|
|||
|
|
|||
|
int initDs18b20(unsigned int gpioNum);
|
|||
|
|
|||
|
/*读取数据*/
|
|||
|
void readDs18b20Data(unsigned char *value);
|
|||
|
|
|||
|
void freeDs18b20(void);
|
|||
|
|
|||
|
#endif
|
|||
|
|