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.
Fork of app-shield-LM75B by
Revision 9:1b67a57e8fc0, committed 2015-07-27
- Comitter:
- MACRUM
- Date:
- Mon Jul 27 06:44:55 2015 +0000
- Parent:
- 8:e0f3f151c3cc
- Commit message:
- Initial commit
Changed in this revision
diff -r e0f3f151c3cc -r 1b67a57e8fc0 C12832.lib --- a/C12832.lib Fri Aug 01 14:29:15 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -https://mbed.org/users/chris/code/C12832/#7de323fa46fe
diff -r e0f3f151c3cc -r 1b67a57e8fc0 main.cpp --- a/main.cpp Fri Aug 01 14:29:15 2014 +0000 +++ b/main.cpp Mon Jul 27 06:44:55 2015 +0000 @@ -1,17 +1,14 @@ #include "mbed.h" #include "LM75B.h" -#include "C12832.h" // Using Arduino pin notation -C12832 lcd(D11, D13, D12, D7, D10); -LM75B sensor(D14,D15); +LM75B sensor(D14,D15, LM75B::ADDRESS_4); +Serial pc(USBTX, USBRX); int main () { while (1) { - lcd.cls(); - lcd.locate(0,3); - lcd.printf("Temp = %.1f\n", sensor.temp()); + pc.printf("Temp = %.1f\n", sensor.temp()); wait(1.0); } }
diff -r e0f3f151c3cc -r 1b67a57e8fc0 mbed.bld --- a/mbed.bld Fri Aug 01 14:29:15 2014 +0000 +++ b/mbed.bld Mon Jul 27 06:44:55 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/6213f644d804 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/bad568076d81 \ No newline at end of file