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 
Committer:
rlanghbv
Date:
Wed Nov 04 18:56:08 2015 +0000
Revision:
0:1fe30bae9dc1
first comit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rlanghbv 0:1fe30bae9dc1 1 #include "mbed.h"
rlanghbv 0:1fe30bae9dc1 2
rlanghbv 0:1fe30bae9dc1 3 Serial pc(USBTX, USBRX);
rlanghbv 0:1fe30bae9dc1 4
rlanghbv 0:1fe30bae9dc1 5 int main() {
rlanghbv 0:1fe30bae9dc1 6 while (1) {
rlanghbv 0:1fe30bae9dc1 7 pc.putc(pc.getc());
rlanghbv 0:1fe30bae9dc1 8 }
rlanghbv 0:1fe30bae9dc1 9 }
rlanghbv 0:1fe30bae9dc1 10
rlanghbv 0:1fe30bae9dc1 11
rlanghbv 0:1fe30bae9dc1 12