LAB10 tamplate for Oppgave1

Dependencies:   mbed

Import program

00001 #include "mbed.h"
00002  
00003 Serial pc(USBTX, USBRX);
00004   
00005 int main() {    
00006     while (1) {
00007         pc.putc(pc.getc());
00008     }
00009 }
00010 
00011 
00012 

Files at this revision

API Documentation at this revision

Comitter:
rlanghbv
Date:
Wed Nov 04 18:56:08 2015 +0000
Commit message:
first comit

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	Wed Nov 04 18:56:08 2015 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+ 
+Serial pc(USBTX, USBRX);
+  
+int main() {    
+    while (1) {
+        pc.putc(pc.getc());
+    }
+}
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Nov 04 18:56:08 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/9296ab0bfc11
\ No newline at end of file