Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: IR_temperature IR_temperature IR_temperature UserIntefaceLCD ... more
Revision 4:dcd4fe76bd13, committed 2011-06-09
- 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);