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.
Revision 0:b22f610d83fd, committed 2019-07-23
- Comitter:
- manishb
- Date:
- Tue Jul 23 11:33:30 2019 +0000
- Commit message:
- lm35;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Tue Jul 23 11:33:30 2019 +0000
@@ -0,0 +1,11 @@
+#include "mbed.h"
+AnalogIn LM35(p15);
+
+int main() {
+ float value;
+ while(1) {
+ value = ((LM35.read()*3276)/10);
+ printf("Temp: %2.2f degree C\r\n", value);
+ wait(1);
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Jul 23 11:33:30 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file