Dependencies:   MODSERIAL mbed

Fork of Minor_test_serial by First Last

Files at this revision

API Documentation at this revision

Comitter:
bjonkheer
Date:
Wed Sep 12 11:09:56 2018 +0000
Parent:
2:794c87b4a13a
Commit message:
led on if not pressed

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 794c87b4a13a -r 2a93e9b6b42a main.cpp
--- a/main.cpp	Wed Sep 12 11:07:49 2018 +0000
+++ b/main.cpp	Wed Sep 12 11:09:56 2018 +0000
@@ -9,7 +9,7 @@
     char c;
     pc.baud(115200);
     pc.printf("Hello World!\r\n");
-    myled = 1;
+    myled = 0;
     while (true) {
         c = pc.getc();
         pc.printf("%c \r\n", c); // print the value of variable i