I corrected found two bugs in your library: _the temperature reading is incorrect (systematic error in subdegree, the division by two was not done correctly + trunc, see below for correction) _one variable, _power_mosfet, was left unitialized under some conditions

Dependencies:   LinkedList

Fork of DS1820 by Erik -

History

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

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


Simplified code, works also on KL25Z now, added support for DS1822

2014-02-24, by Sissors [Mon, 24 Feb 2014 21:23:14 +0000] rev 5

Simplified code, works also on KL25Z now, added support for DS1822


Added check of CRC to end of search_ROM

2013-08-07, by pairmand [Wed, 07 Aug 2013 11:02:10 +0000] rev 4

Added check of CRC to end of search_ROM


Fixed to work with latest library version, allowed immediate return from convert_temperature(), and tidied up a few other things.

2013-08-01, by pairmand [Thu, 01 Aug 2013 10:18:17 +0000] rev 3

Fixed to work with latest library version, allowed immediate return from convert_temperature(), and tidied up a few other things.


Updated documentation. (maybe)

2011-12-15, by Michael_ [Thu, 15 Dec 2011 19:07:36 +0000] rev 2

Updated documentation. (maybe)


Added code to support the DS18B20

2011-12-14, by Michael_ [Wed, 14 Dec 2011 20:22:16 +0000] rev 1

Added code to support the DS18B20