Tyari Taylor
/
OS-RPC_Serial
operational RPC with OS5
Fork of OS-RPC_Serial by
Revision 68:49b8d619795d, committed 2018-08-23
- Comitter:
- Tyari21
- Date:
- Thu Aug 23 14:06:05 2018 +0000
- Parent:
- 67:f3ca708f5187
- Commit message:
- operational RC with OS 5
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Jul 24 21:03:39 2018 +0000 +++ b/main.cpp Thu Aug 23 14:06:05 2018 +0000 @@ -1,5 +1,6 @@ #include "mbed.h" #include "SerialRPCInterface.h" +#include "mbed_rpc.h" Serial pc(USBTX, USBRX); @@ -29,6 +30,7 @@ out->putData(buffer); } int main() { + pc.printf("starting..."); char buf[256], outbuf[256]; while(1) { pc.gets(buf, 256);