Library for ADT7410 I2C temperature sensor. Use this instead of TMP102 when you need to measure temperatures lower than -40 degrees C. The device is guaranteed to work at -55 C but will actually read lower temps. See http://mbed.org/users/tkreyche/notebook/adt7140-i2c-temperature-sensor/ for more info.

Dependents:   BLE_ADT7410_TMP102_Sample BLE_HTM_HRM1017 BLENano_SimpleTemplate_temp_170802 BLENano_SimpleTemplate_temp_170813 ... more

Revision:
5:112e732c8042
Parent:
4:3ef9329a8ea7
Child:
6:fc59a47f1cac
diff -r 3ef9329a8ea7 -r 112e732c8042 ADT7410.h
--- a/ADT7410.h	Tue Feb 01 19:16:47 2011 +0000
+++ b/ADT7410.h	Tue Feb 01 19:22:03 2011 +0000
@@ -76,24 +76,31 @@
 
 public:
 
-    /** Create a servo temperature sensor object 
+    /** Create a temperature sensor object 
     * @param sda I2C data
     * @param scl I2C clock
     * @param addr I2C bus address
     * @param hz I2C bus speed
     */
 
-    // Creates an instance of the class.
-    // Connect module at I2C address addr using I2C port pins sda and scl
     ADT7410(PinName sda, PinName scl, char addr, int hz);
 
-    //Destroys instance.
+    /** Destroys object
+    */
     ~ADT7410();
 
-    //Reads the current temperature.
+
+
+    /** Reads the current temperature
+    */
     float getTemp();
 
-    //Set config register
+    /** Change settings using config register
+    * currently only using this to set one sample per second mode
+    * to reduce power consumption
+    * param regVal new configuration register value
+    */
+    
     void setConfig(char regVal);
 
     //Get config register