Fork to fix compiler warnings.
Fork of DS1820 by
History
Add an isValid function to re-search for sensors that error out.
2018-03-24, by Tejas Kale [Sat, 24 Mar 2018 04:00:34 +0100] rev 19
Add an isValid function to re-search for sensors that error out.
Remove extra commented code.
2018-03-23, by Tejas Kale [Fri, 23 Mar 2018 23:25:22 +0100] rev 18
Remove extra commented code.
Print error instead of killing the microcontroller.
2018-03-23, by Tejas Kale [Fri, 23 Mar 2018 23:21:41 +0100] rev 17
Print error instead of killing the microcontroller.
Temperature sensors failing should not cause the entire system to fail.
The Mbed `error` function calls `exit(0)` and causes everything else to
stop working.
My testing with 7 DS18B20 sensors has shown that just ignoring this error
and searching again works fine.
Fix compiler warnings
2018-01-29, by Tejas Kale [Mon, 29 Jan 2018 23:24:28 +0100] rev 16
Fix compiler warnings
Removed specialized STM code (still uses OpenDrain mode), should work now still.
2017-03-11, by Sissors [Sat, 11 Mar 2017 20:35:59 +0000] rev 15
Removed specialized STM code (still uses OpenDrain mode), should work now still.
;
; Added NRF51822 support by adding a software delay function.
Switched for STM devices to OpenDrain mode. Since also OpenDrain mode is bugged for STM devices it has a workaround to properly enable it. Should be removed once STM fixes it in the mbed lib.
2017-01-08, by Sissors [Sun, 08 Jan 2017 17:26:21 +0000] rev 14
Switched for STM devices to OpenDrain mode. Since also OpenDrain mode is bugged for STM devices it has a workaround to properly enable it. Should be removed once STM fixes it in the mbed lib.
Switched to Sam's LinkedList
2015-03-09, by Sissors [Mon, 09 Mar 2015 20:41:08 +0000] rev 13
Switched to Sam's LinkedList
Fixed issue with multplie probes
2015-02-26, by Sissors [Thu, 26 Feb 2015 22:20:24 +0000] rev 12
Fixed issue with multplie probes
;
; The command byte got garbled after first sent, resulting in other runs no probes responding.
Renamed all CRC to _CRC to remove conflict with STM devices.
2015-02-16, by Sissors [Mon, 16 Feb 2015 16:53:11 +0000] rev 11
Renamed all CRC to _CRC to remove conflict with STM devices.
;
; Also changed some constants from double to float to stop compiler warnings.
correction of bugs compared to original library.; _Unitialized variable; _Wrong reading of temperature (when subdegree precision is required)
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)