Didn't realise DS18B20 was 1-Wire Will probably just find a library for that one - can't be arsed doing more bit banging
8 lines
85 B
C
8 lines
85 B
C
#pragma once
|
|
|
|
int ds18b20_read(void);
|
|
|
|
typedef enum {
|
|
DS18B20_OK,
|
|
} ds18b20_error;
|