Analog Devices / ADT7410 16-Bit Digital I2C Temperature Sensor

Dependents:   Frequency_Counter_w_GPS_1PPS MQTToverCC3000 Frequency_Cntr_1PPS_F746ZG

Revision:
2:231bddd40e29
Parent:
1:4a1eb0f32025
Child:
4:523b5b34e0c9
--- a/ADT7410.h	Sun Nov 30 09:05:07 2014 +0000
+++ b/ADT7410.h	Tue Jan 06 03:06:16 2015 +0000
@@ -7,7 +7,7 @@
  *  http://www.page.sannet.ne.jp/kenjia/index.html
  *  http://mbed.org/users/kenjiArai/
  *      Created: November   26th, 2014
- *      Revised: November   30th, 2014
+ *      Revised: January     6th, 2015
  *
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
  * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
@@ -72,10 +72,10 @@
  * // If you connected I2C line not only this device but also other devices,
  * //     you need to declare following method.
  * I2C     i2c(PinName p_sda, PinName p_scl);
- * ADT7410 t(I2C& p_i2c, addr); // default: 13bit resolution & continuous conv.
+ * ADT7410 t(I2C& p_i2c, addr); // default: 16bit resolution & continuous conv.
  *
  * int main() {
- *     t.set_config(OPERATION_MODE_1SPS + RESOLUTION_16BIT); // you can change the config.
+ *     t.set_config(OPERATION_MODE_1SPS + RESOLUTION_13BIT); // you can change the config.
  *     while(1){
  *         printf("T=%+6.3f degC\r\n", t.read_temp());
  *         wait(1.0):
@@ -152,7 +152,7 @@
       * @return ADT7410 = 1, others  0
       */
     uint8_t who_am_i();
-
+    
 protected:
     I2C  _i2c;