Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: RPCInterface mbed
Fork of RPC_RangeFinderDemo by
Revision 4:7cc27231579b, committed 2012-12-20
- Comitter:
- currystomper
- Date:
- Thu Dec 20 09:05:23 2012 +0000
- Parent:
- 3:29986d0e80da
- Commit message:
- Line feed added to print statement and comment on what to type on terminal
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Dec 19 12:16:14 2012 +0000
+++ b/main.cpp Thu Dec 20 09:05:23 2012 +0000
@@ -29,7 +29,8 @@
time_t time_value = time_t(input);
set_time(time_value);
time_t seconds = time(NULL);
- sprintf(output, "\n Time as seconds since January 1, 1970 = %d\n", seconds); // puts String into "output" for SerialRPC to process and transmit
+ sprintf(output, "\r\n Time as seconds since January 1, 1970 = %d\r\n", seconds); // puts String into "output" for SerialRPC to process and transmit
}
+// so set up terminal up to 9600 baud and type "/TimeSet/run 232323"
\ No newline at end of file
