]> mj.ucw.cz Git - home-hw.git/blob - test-opencm3/ds18b20.h
ocm3 test: DS18B20 interface
[home-hw.git] / test-opencm3 / ds18b20.h
1 // DS18B20 Temperature Sensor
2
3 #ifndef _DS18B20_H
4 #define _DS18B20_H
5
6 extern int ds_current_temp;
7 #define DS_TEMP_UNKNOWN 0x7fffffff
8
9 void ds_init(void);
10 void ds_step(void);
11
12 #endif