Updated i2c interface to work correctly with mBed and Hexiwear
Dependents: Hexi_Click_IRThermo_Example
Fork of MLX90614 by
Diff: mlx90614.h
- Revision:
- 5:8f8aedd25609
- Parent:
- 4:dcd4fe76bd13
--- a/mlx90614.h Thu Jun 09 13:50:26 2011 +0000 +++ b/mlx90614.h Thu Oct 27 20:06:15 2016 +0000 @@ -3,11 +3,8 @@ //Melexis Infrared Thermometer MLX90614 Library //***************************************************************** -// Build : 2011-06-08 Hikaru Sugiura +// Build : 27/10/16 Dave Clarke // Only read thermo data. -// -// This program is based on Mr.Mitesh Patel's "mlx90614". -// http://mbed.org/users/mitesh2patel/programs/mlx90614/lqnetj // // This program does not check CRC. // If you want to check CRC, please do it your self :) @@ -43,7 +40,7 @@ * @param i2c I2C device pointer * @param addr Device address(default=0xB4) */ - MLX90614(I2C* i2c,int addr=0xB4); + MLX90614(I2C* i2c,uint8_t addr=0xB4); /** Get Temperature data from MLX90614. * @@ -56,4 +53,6 @@ I2C* i2c; int i2caddress; + + }; \ No newline at end of file