RPC Serial for Sonar Range Sensor

Dependencies:   mbed-rpc mbed

Fork of RPC_Serial by Michael Walker

Files at this revision

API Documentation at this revision

Comitter:
MichaelW
Date:
Thu Aug 14 09:25:00 2014 +0000
Parent:
4:37712731e13d
Commit message:
Updated comments;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 37712731e13d -r 4ddd10908e46 main.cpp
--- a/main.cpp	Thu Aug 14 09:08:44 2014 +0000
+++ b/main.cpp	Thu Aug 14 09:25:00 2014 +0000
@@ -1,14 +1,17 @@
 #include "mbed.h"
 #include "mbed_rpc.h"
 
-//This example program as been updated to use the RPC implementation in the new mbed libraries.
+/**
+ *  This example program has been updated to use the RPC implementation in the new mbed libraries.
+ *  This example demonstrates using RPC over serial
+ */
 
 //Use the RPC enabled wrapped class  - see RpcClasses.h for more info
 RpcDigitalOut myled(LED4,"myled");
 
 Serial pc(USBTX, USBRX);
 int main() {
-    //The mbed RPC classes are now wrapped to create an RPC enabled version - see RpcClasses.h so no longer any need to add them to the base class
+    //The mbed RPC classes are now wrapped to create an RPC enabled version - see RpcClasses.h so don't add to base class
     
     // receive commands, and send back the responses
     char buf[256], outbuf[256];