Andy Zucker / Mbed 2 deprecated serial_communication1

Dependencies:   mbed

Fork of serial_communication by Andy Zucker

Files at this revision

API Documentation at this revision

Comitter:
Andy8800
Date:
Sun Feb 21 14:49:52 2016 +0000
Parent:
0:15ca75f6e1a0
Commit message:
just changed comments

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sun Feb 21 14:10:38 2016 +0000
+++ b/main.cpp	Sun Feb 21 14:49:52 2016 +0000
@@ -37,7 +37,7 @@
           pc.printf("Second three characters: %c%c%c \n\r",ch[3],ch[4],ch[5]); 
           
           
-               //devide ch array into two separate char arrays
+               //devide ch array into two separate char arrays (buf1 and buf2)
                sprintf(buf1,"%c%c%c",ch[0],ch[1],ch[2]);
                sprintf(buf2,"%c%c%c",ch[3],ch[4],ch[5]);