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
Diff: ADT7410.h
- Revision:
- 4:3ef9329a8ea7
- Parent:
- 3:834388db599d
- Child:
- 5:112e732c8042
--- a/ADT7410.h Tue Feb 01 19:10:49 2011 +0000 +++ b/ADT7410.h Tue Feb 01 19:16:47 2011 +0000 @@ -21,7 +21,6 @@ */ - #ifndef ADT7410_H #define ADT7410_H @@ -37,9 +36,6 @@ // only a partial list, don't use them all #define ONE_SPS_MODE 0x40 -//Library for the ADT7410 temperature sensor - - /** * * Example: @@ -80,6 +76,13 @@ public: + /** Create a servo 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);