LibDriver DS18B20
Loading...
Searching...
No Matches
driver_ds18b20_basic.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_DS18B20_BASIC_H
39#define DRIVER_DS18B20_BASIC_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
53
57#define DS18B20_BASIC_DEFAULT_RESOLUTION DS18B20_RESOLUTION_12BIT
58
66uint8_t ds18b20_basic_init(void);
67
76uint8_t ds18b20_basic_read(float *temperature);
77
85uint8_t ds18b20_basic_deinit(void);
86
90
91#ifdef __cplusplus
92}
93#endif
94
95#endif
driver ds18b20 interface header file
uint8_t ds18b20_basic_read(float *temperature)
basic example read
uint8_t ds18b20_basic_init(void)
basic example init
uint8_t ds18b20_basic_deinit(void)
basic example deinit