Create ds18b20.h

This commit is contained in:
Feelfree 2016-09-29 16:53:38 +02:00 committed by GitHub
parent f3c699e6ed
commit b315db990d

12
ds18b20.h Normal file
View file

@ -0,0 +1,12 @@
#ifndef DS18B20_H_
#define DS18B20_H_
void send(char bit);
unsigned char read(void);
void send_byte(char data);
unsigned char read_byte(void);
unsigned char RST_PULSE(void);
float DS_get_temp(void);
void DS_init(int GPIO);
#endif