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: DS1820.h
- Revision:
- 10:d297ce9ce422
- Parent:
- 7:58b61681818f