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:
- 6:fc59a47f1cac
- Parent:
- 5:112e732c8042
- Child:
- 7:84351f613e8a
--- a/ADT7410.h Tue Feb 01 19:22:03 2011 +0000 +++ b/ADT7410.h Tue Feb 01 19:24:39 2011 +0000 @@ -82,25 +82,19 @@ * @param addr I2C bus address * @param hz I2C bus speed */ - ADT7410(PinName sda, PinName scl, char addr, int hz); /** Destroys object */ ~ADT7410(); - - /** Reads the current temperature */ float getTemp(); - /** Change settings using config register - * currently only using this to set one sample per second mode - * to reduce power consumption + /** Change config register, currently only used to reduce power with set one sample per second mode * param regVal new configuration register value */ - void setConfig(char regVal); //Get config register