RangeFinder demo code showing the use of RPCFunction

Dependencies:   mbed SRF08

Files at this revision

API Documentation at this revision

Comitter:
MichaelW
Date:
Fri Feb 04 11:13:28 2011 +0000
Parent:
0:5e8f67a3fc53
Commit message:
Updated RPCInterface Library

Changed in this revision

RPCInterface.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 5e8f67a3fc53 -r e5e4988258b9 RPCInterface.lib
--- a/RPCInterface.lib	Mon Sep 20 14:39:23 2010 +0000
+++ b/RPCInterface.lib	Fri Feb 04 11:13:28 2011 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/MichaelW/code/RPCInterface/#9232f9e1178d
+http://mbed.org/users/MichaelW/code/RPCInterface/#05f0d66bee57
diff -r 5e8f67a3fc53 -r e5e4988258b9 main.cpp
--- a/main.cpp	Mon Sep 20 14:39:23 2010 +0000
+++ b/main.cpp	Fri Feb 04 11:13:28 2011 +0000
@@ -1,3 +1,7 @@
+/**
+* Copyright (c)2010 ARM Ltd.
+* Released under the MIT License: http://mbed.org/license/mit
+*/
 #include "mbed.h"
 #include "SerialRPCInterface.h"
 #include "SRF08.h"
@@ -12,9 +16,10 @@
 DigitalOut myled(LED1);
 
 int main() {
-//The range finder demo also uses 2 servos but these will be handled entirly over the RPC
 
     while(1) {
+        
+    
         myled = 1;
         wait(0.2);
         myled = 0;