Mitko Tolev
/
STM32_Print_PC
Return and new line
Revision 2:b916eb6c8dcc, committed 2018-01-19
- Comitter:
- miceviki
- Date:
- Fri Jan 19 11:27:56 2018 +0000
- Parent:
- 1:ce08f1d8140c
- Commit message:
- Return and new line
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r ce08f1d8140c -r b916eb6c8dcc main.cpp --- a/main.cpp Sat Jul 08 05:01:19 2017 +0000 +++ b/main.cpp Fri Jan 19 11:27:56 2018 +0000 @@ -31,6 +31,6 @@ while(1) { wait(1); // 1 second led = !led; // Toggle LED - printf("This program runs since %d seconds.\n", i++); + printf("This program runs since %d seconds.\r\n", i++); } }