7 #define DEFAULT_SERIAL_PORT "COM3"
9 #define DEFAULT_SERIAL_PORT "/dev/ttyUSB0"
12 #define DS18X20_GENERATOR 0x8c
13 #define DS18X20_ROM_SIZE 8
14 #define DS18X20_SP_SIZE 9
15 #define DS18B20_SP_TH 2
16 #define DS18B20_SP_TL 3
17 #define DS18B20_SP_CONFIG 4
19 #define DS18B20_SP_WRITE 0x4e
20 #define DS18B20_SP_SAVE 0x48
int DS18B20_measure(HANDLE)
int DS18B20_rom(HANDLE, unsigned char *)
char * DS18B20_errmsg(void)
HANDLE DS18B20_open(const char *)
void DS18B20_close(HANDLE)
int DS18B20_setprecision(HANDLE, int)
int DS18B20_acquire(HANDLE, float *)