Library for reading temperature from DS1820, DS18B20 and DS1822
Dependents: heatmap BLE_Temperature BLE_Temperature_Exercise F334andDS18B20 ... more
Fork of DS1820 by
HelloWorld: http://mbed.org/users/Sissors/code/DS1820_HelloWorld/
Library should currently work on all mbed targets, let me know if there is an issue. First however make sure you have latest version of mbed library and this library.
Diff: DS1820.h
- Revision:
- 11:1a3c3002b50c
- Parent:
- 7:58b61681818f
--- a/DS1820.h Fri Jan 30 11:07:10 2015 +0000 +++ b/DS1820.h Mon Feb 16 16:53:11 2015 +0000 @@ -112,7 +112,7 @@ bool _power_mosfet; bool _power_polarity; - static char CRC_byte (char CRC, char byte ); + static char CRC_byte(char _CRC, char byte ); static bool onewire_reset(DigitalInOut *pin); void match_ROM(); void skip_ROM();