Library for reading temperature from DS1820, DS18B20 and DS1822

Dependencies:   LinkedList

Dependents:   heatmap BLE_Temperature BLE_Temperature_Exercise F334andDS18B20 ... more

Fork of DS1820 by David Pairman

HelloWorld: http://mbed.org/users/Sissors/code/DS1820_HelloWorld/

Library should currently work on all mbed targets, let me know if there is an issue. First however make sure you have latest version of mbed library and this library.

Revision:
6:abfdd851218a
Parent:
5:2cd4928e8147
Child:
7:58b61681818f
--- a/DS1820.h	Mon Feb 24 21:23:14 2014 +0000
+++ b/DS1820.h	Wed Apr 02 19:10:34 2014 +0000
@@ -85,7 +85,7 @@
       * to all devices on the 1-Wire bus.
       * @returns milliseconds untill conversion will complete.
       */
-    int convertTemperature(bool wait, devices device=this_device);
+    int convertTemperature(bool wait, devices device=all_devices);
 
     /** This function will return the probe temperature. Approximately 10ms per
       * probe to read its RAM, do CRC check and convert temperature on the LPC1768.