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
LinkedList.lib@10:d297ce9ce422, 2015-01-30 (annotated)
- Committer:
- florian
- Date:
- Fri Jan 30 11:07:10 2015 +0000
- Revision:
- 10:d297ce9ce422
- Parent:
- 5:2cd4928e8147
correction of bugs compared to original library.; _Unitialized variable; _Wrong reading of temperature (when subdegree precision is required)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Sissors | 5:2cd4928e8147 | 1 | http://mbed.org/users/Sissors/code/LinkedList/#4ed66162aaa8 |