![](/media/cache/profiles/b9f9c5fc82fdcd944d7041adcc98ff36.50x50_q85.png)
Quick Test Hack of the RPCInterface lib - it works for me!!
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