Hello World program for LM75B temperature sensor
Fork of app-board-LM75B by
main.cpp
- Committer:
- chris
- Date:
- 2012-10-26
- Revision:
- 4:02cf3a06a13e
- Parent:
- 3:4d612f16ad84
File content as of revision 4:02cf3a06a13e:
#include "mbed.h" #include "LM75B.h" LM75B tmp(p28,p27); int main () { while (1) { printf("%.2f\n",tmp.read()); wait(1.0); } }