Updated i2c interface to work correctly with mBed and Hexiwear
Dependents: Hexi_Click_IRThermo_Example
Fork of MLX90614 by
Revision 4:dcd4fe76bd13, committed 2011-06-09
- Comitter:
- aquahika
- Date:
- Thu Jun 09 13:50:26 2011 +0000
- Parent:
- 3:eb618e916622
- Child:
- 5:8f8aedd25609
- Commit message:
- revise sample code
Changed in this revision
| mlx90614.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
