Driver for TI TMP007 thermopile. Reads object temperature, internal temperature, and sensor voltage.
Diff: tmp007.cpp
- Revision:
- 1:b11c53492ce5
- Parent:
- 0:86a2044abd50
--- a/tmp007.cpp Wed Oct 29 18:39:32 2014 +0000 +++ b/tmp007.cpp Wed Oct 29 18:41:04 2014 +0000 @@ -33,7 +33,7 @@ */ temp_write[0] = TMP007_Conf; temp_write[2] = 0x40; //Mode On, Alert, TC, 16 samples - temp_write[1] = 0x19; + temp_write[1] = 0x19; //check order of these (endianness) i2c.write(TMP007_ADDR, temp_write, 3, 0); while (1) {