MLX90614 library. Working on both Mbed2 and Mbed5

Dependents:   MLX90614_Demo

Fork of MLX90614 by Hikaru Sugiura

Revision:
5:933b7db866c5
Parent:
4:dcd4fe76bd13
diff -r dcd4fe76bd13 -r 933b7db866c5 mlx90614.h
--- a/mlx90614.h	Thu Jun 09 13:50:26 2011 +0000
+++ b/mlx90614.h	Fri May 04 07:29:44 2018 +0000
@@ -20,8 +20,8 @@
 * #include "mbed.h"
 * #include "mlx90614.h"
 *
-* I2C i2c(p28,p27);   //sda,scl
-* MLX90614 thermometer(&i2c);
+* I2C i2c(PB_9, PB_8);   //sda,scl
+* MLX90614 thermometer(&i2c, 0x5A);
 * float temp;
 *
 * void main(void){
@@ -41,9 +41,9 @@
         /** Create MLX90614 interface, initialize with selected I2C port and address.
         *
         * @param i2c I2C device pointer
-        * @param addr Device address(default=0xB4)  
+        * @param addr Device address(default=0x5A)  
         */    
-        MLX90614(I2C* i2c,int addr=0xB4);
+        MLX90614(I2C* i2c,int addr=0x5A);
         
         /** Get Temperature data from MLX90614. 
         *