operational RPC with OS5

Dependencies:   RPCInterface

Fork of OS-RPC_Serial by Advanced_Instrumentation

Files at this revision

API Documentation at this revision

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);