Andrew Boyson
/
iot
Backing up an unused program in case of future need
Diff: ds18b20.h
- Revision:
- 6:be97d38e0b01
- Parent:
- 5:6226f3c566ef
diff -r 6226f3c566ef -r be97d38e0b01 ds18b20.h --- a/ds18b20.h Wed May 11 16:42:35 2016 +0000 +++ b/ds18b20.h Tue May 31 07:35:28 2016 +0000 @@ -1,4 +1,14 @@ -extern uint16_t DS18B20Value; +#define DS18B20_ERROR_CRC 0x7FFF +#define DS18B20_ERROR_NOT_FOUND 0x7FFE +#define DS18B20_ERROR_TIMED_OUT 0x7FFD +#define DS18B20_ERROR_NO_DEVICE_PRESENT 0x7FFC +#define DS18B20_ERROR_NO_DEVICE_PARTICIPATING 0x7FFB -extern int DS18B20Init(); -extern int DS18B20Main(); \ No newline at end of file +extern int DS18B20DeviceCount; +extern char DS18B20DeviceList[]; +extern int16_t DS18B20Value[]; +extern int16_t DS18B20ValueFromRom(char* rom); + +extern int DS18B20Busy(); +extern int DS18B20Init(); +extern int DS18B20Main(); \ No newline at end of file