Assignment 2c commit work

Dependencies:   MODSERIAL mbed

Fork of Minor_test_serial by First Last

Files at this revision

API Documentation at this revision

Comitter:
MarijkeZondag
Date:
Tue Sep 11 15:06:12 2018 +0000
Parent:
2:2f4444f1504d
Child:
4:fbea05c8fe2b
Commit message:
getc weggehaald;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Sep 11 15:05:35 2018 +0000
+++ b/main.cpp	Tue Sep 11 15:06:12 2018 +0000
@@ -6,10 +6,7 @@
 DigitalIn button(PTA4);
 
 int main()
-{
-    char c;
-    c = pc.getc();
-    
+{ 
     pc.baud(115200);
     pc.printf("Hello World!\r\n");