LM75B LBS-Ebiswald
Dependencies: C12832_lcd LM75B mbed
Fork of LM75B-HelloWorld by
main.cpp
- Committer:
- wipflhan
- Date:
- 2013-12-03
- Revision:
- 5:21c35ad77b78
- Parent:
- 4:02cf3a06a13e
File content as of revision 5:21c35ad77b78:
#include "mbed.h" #include "LM75B.h" #include "C12832_lcd.h" LM75B tmp(p28,p27); C12832_LCD lcd; int main () { while (1) { lcd.cls(); printf("%.2f\n",tmp.read()); lcd.locate(0,3); lcd.printf("%.2f\n",tmp.read()); wait(1.0); } }