El-POM1001 / Mbed 2 deprecated LAB10_Oppgave1

Dependencies:   mbed

Fork of LAB10_Oppgave1 by EL-POM1001

Files at this revision

API Documentation at this revision

Comitter:
madmonkeyman82
Date:
Thu Nov 05 16:17:27 2015 +0000
Parent:
0:1fe30bae9dc1
Commit message:
first;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 1fe30bae9dc1 -r f4ea03d315e5 main.cpp
--- a/main.cpp	Wed Nov 04 18:56:08 2015 +0000
+++ b/main.cpp	Thu Nov 05 16:17:27 2015 +0000
@@ -4,7 +4,7 @@
   
 int main() {    
     while (1) {
-        pc.putc(pc.getc());
+        pc.putc(pc.getc()+1);
     }
 }