Melexis MLX90614 library

Dependents:   IR_temperature IR_temperature IR_temperature UserIntefaceLCD ... more

Files at this revision

API Documentation at this revision

Comitter:
aquahika
Date:
Thu Jun 09 13:50:26 2011 +0000
Parent:
3:eb618e916622
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);