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.
Dependencies: C12832_lcd LM75B MMA7660 mbed
Fork of app-board-demo by
main.cpp
- Committer:
- chris
- Date:
- 2012-10-26
- Revision:
- 3:4d612f16ad84
- Parent:
- 2:9e757151de9b
- Child:
- 4:dac7e60ec354
File content as of revision 3:4d612f16ad84:
#include "mbed.h"
#include "LM75B.h"
#include "C12832_lcd.h"
C12832_LCD lcd;
LM75B tmp(p28,p27);
int main ()
{
while (1) {
lcd.cls();
lcd.locate(0,3);
lcd.printf("%.2f\n",tmp.read());
wait(1.0);
}
}
