![](/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
Diff: main.cpp
- Revision:
- 4:7cc27231579b
- Parent:
- 3:29986d0e80da
diff -r 29986d0e80da -r 7cc27231579b main.cpp --- 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