Assignement_2_c

Dependencies:   MODSERIAL mbed

Fork of Minor_test_serial by First Last

Files at this revision

API Documentation at this revision

Comitter:
Fianna
Date:
Tue Sep 11 13:49:42 2018 +0000
Parent:
2:161481e810dc
Commit message:
Now works perfectly!

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 161481e810dc -r d826445e3ce3 main.cpp
--- a/main.cpp	Tue Sep 11 13:49:23 2018 +0000
+++ b/main.cpp	Tue Sep 11 13:49:42 2018 +0000
@@ -12,7 +12,7 @@
     char c;
     c = pc.getc();
     
-    pc.printf("input user: %c\n", c);
+    pc.printf("input user: %c\r\n", c);
     
     while (true) {
         myled = !myled;