Serial Port needed...

Dependencies:   mbed ur_Bertl

Files at this revision

API Documentation at this revision

Comitter:
davidhasenhuettl
Date:
Fri May 08 08:39:54 2015 +0000
Commit message:
Easy Introduction into Serial Ports

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
ur_Bertl.lib Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 0dfb06dad97e main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri May 08 08:39:54 2015 +0000
@@ -0,0 +1,19 @@
+#include "mbed.h"
+#include "ur_Bertl.h"
+#include "const.h"
+
+Serial bt(p9, p10);
+
+int main() 
+{    
+        
+        int xy = 5;
+        
+        ur_Bertl karel;
+        
+        while(1){
+            bt.printf("Hello Bertl: %d \n", xy);
+            wait(1);
+        }
+    
+}
diff -r 000000000000 -r 0dfb06dad97e mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri May 08 08:39:54 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/8ab26030e058
\ No newline at end of file
diff -r 000000000000 -r 0dfb06dad97e ur_Bertl.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ur_Bertl.lib	Fri May 08 08:39:54 2015 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/teams/BERTL_CHEL_18/code/ur_Bertl/#3ce84646fd74