Erdäpfel

Dependencies:   LM75B mbed

Files at this revision

API Documentation at this revision

Comitter:
TFuchsbichler
Date:
Fri Apr 21 06:03:54 2017 +0000
Commit message:
Tempsensorprogramm

Changed in this revision

LM75B.lib Show annotated file Show diff for this revision Revisions of this file
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
diff -r 000000000000 -r 2faef44cbd2c LM75B.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LM75B.lib	Fri Apr 21 06:03:54 2017 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/neilt6/code/LM75B/#7ac462ba84ac
diff -r 000000000000 -r 2faef44cbd2c main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Apr 21 06:03:54 2017 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "LM75B.h"
+
+LM75B sensor (p28,p27);
+float tempe;
+int main()
+{
+ while(1)
+ {
+    
+    printf("Temp: %.2f\n\r",(float)sensor);
+    wait(0.5);
+ }   
+}
+
diff -r 000000000000 -r 2faef44cbd2c mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Apr 21 06:03:54 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/4fc01daae5a5
\ No newline at end of file