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
DS1820.cpp
- Committer:
- Michael_
- Date:
- 2011-12-15
- Revision:
- 2:ee820a991b95
- Parent:
- 1:6a427f54e82c
- Child:
- 3:8f2b7f4940b5