mirror of
https://github.com/feelfreelinux/ds18b20.git
synced 2025-12-15 14:51:15 -08:00
Create ds18b20.h
This commit is contained in:
parent
f3c699e6ed
commit
b315db990d
1 changed files with 12 additions and 0 deletions
12
ds18b20.h
Normal file
12
ds18b20.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue