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
Fork of DS1820 by
Diff: LinkedList.lib
- Revision:
- 5:2cd4928e8147
diff -r 29264b0a2c9f -r 2cd4928e8147 LinkedList.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LinkedList.lib Mon Feb 24 21:23:14 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/Sissors/code/LinkedList/#4ed66162aaa8