Updated i2c interface to work correctly with mBed and Hexiwear
Dependents: Hexi_Click_IRThermo_Example
Fork of MLX90614 by
Diff: mlx90614.h
- Revision:
- 4:dcd4fe76bd13
- Parent:
- 3:eb618e916622
- Child:
- 5:8f8aedd25609
--- a/mlx90614.h Thu Jun 09 13:41:09 2011 +0000
+++ b/mlx90614.h Thu Jun 09 13:50:26 2011 +0000
@@ -22,9 +22,10 @@
*
* I2C i2c(p28,p27); //sda,scl
* MLX90614 thermometer(&i2c);
+* float temp;
*
* void main(void){
-* if(thermo.getTemp(&temp)){
+* if(thermometer.getTemp(&temp)){
* printf("Temperature : %f \r\n",temp);
* }
* wait(0.5);
