Fork of DigitalOut_HelloWorld

Fork of DigitalOut_HelloWorld by mbed_example

Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing

Files at this revision

API Documentation at this revision

Comitter:
Karen Yen
Date:
Tue Jun 19 12:01:52 2018 -0500
Parent:
9:06a64cd24c6e
Commit message:
Moved carriage return to end of printf

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Jun 23 13:39:18 2017 -0500
+++ b/main.cpp	Tue Jun 19 12:01:52 2018 -0500
@@ -27,11 +27,11 @@
     // Blink LED
     while(1) {
         myled = 1;          // set LED1 pin to high
-        printf("\n\r myled = %d", (uint8_t)myled );
+        printf("myled = %d \n\r", (uint8_t)myled );
         wait(0.5);
 
         myled.write(0);     // set LED1 pin to low
-        printf("\n\r myled = %d",myled.read() );
+        printf("myled = %d \n\r",myled.read() );
         wait(0.5);
     }
 }