Library for reading temperature from DS1820, DS18B20 and DS1822

Dependencies:   LinkedList

Dependents:   heatmap BLE_Temperature BLE_Temperature_Exercise F334andDS18B20 ... more

Fork of DS1820 by David Pairman

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.

History

Removed specialized STM code (still uses OpenDrain mode), should work now still. default tip

2017-03-11, by Sissors [Sat, 11 Mar 2017 20:35:59 +0000] rev 15

Removed specialized STM code (still uses OpenDrain mode), should work now still.
;
; Added NRF51822 support by adding a software delay function.


Switched for STM devices to OpenDrain mode. Since also OpenDrain mode is bugged for STM devices it has a workaround to properly enable it. Should be removed once STM fixes it in the mbed lib.

2017-01-08, by Sissors [Sun, 08 Jan 2017 17:26:21 +0000] rev 14

Switched for STM devices to OpenDrain mode. Since also OpenDrain mode is bugged for STM devices it has a workaround to properly enable it. Should be removed once STM fixes it in the mbed lib.


Switched to Sam's LinkedList

2015-03-09, by Sissors [Mon, 09 Mar 2015 20:41:08 +0000] rev 13

Switched to Sam's LinkedList


Fixed issue with multplie probes

2015-02-26, by Sissors [Thu, 26 Feb 2015 22:20:24 +0000] rev 12

Fixed issue with multplie probes
;
; The command byte got garbled after first sent, resulting in other runs no probes responding.


Renamed all CRC to _CRC to remove conflict with STM devices.

2015-02-16, by Sissors [Mon, 16 Feb 2015 16:53:11 +0000] rev 11

Renamed all CRC to _CRC to remove conflict with STM devices.
;
; Also changed some constants from double to float to stop compiler warnings.


correction of bugs compared to original library.; _Unitialized variable; _Wrong reading of temperature (when subdegree precision is required)

2015-01-30, by florian [Fri, 30 Jan 2015 11:07:10 +0000] rev 10

correction of bugs compared to original library.; _Unitialized variable; _Wrong reading of temperature (when subdegree precision is required)


suppress a bug uninitialized variable

2015-01-29, by florian [Thu, 29 Jan 2015 19:27:32 +0000] rev 9

suppress a bug uninitialized variable


Instead of open drain use CMOS output for writing. Not according to standard, but can help for long busses. And helps with parasite powered via data pin (no external mosfet)

2014-07-08, by Sissors [Tue, 08 Jul 2014 18:55:54 +0000] rev 8

Instead of open drain use CMOS output for writing. Not according to standard, but can help for long busses. And helps with parasite powered via data pin (no external mosfet)


Added define for invalid conversion

2014-04-08, by Sissors [Tue, 08 Apr 2014 09:59:18 +0000] rev 7

Added define for invalid conversion


set default convert temperature to all devices

2014-04-02, by Sissors [Wed, 02 Apr 2014 19:10:34 +0000] rev 6

set default convert temperature to all devices