Accepts RPC commands over bluetooth (RN42)

Dependencies:   mbed m3pi

Files at this revision

API Documentation at this revision

Comitter:
chris
Date:
Sun Nov 07 10:41:15 2010 +0000
Child:
1:907687ab6d94
Commit message:
Initial revision

Changed in this revision

RPCInterface.lib Show annotated file Show diff for this revision Revisions of this file
m3pi.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
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RPCInterface.lib	Sun Nov 07 10:41:15 2010 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/MichaelW/code/RPCInterface/#05f0d66bee57
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m3pi.lib	Sun Nov 07 10:41:15 2010 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/chris/code/m3pi/#54c673c71fc0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Nov 07 10:41:15 2010 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "m3pi.h"
+#include "SerialRPCInterface.h"
+
+// RN42 module defaults to 115,200 and is on p28,p27
+SerialRPCInterface Interface(p28, p27, 115200);
+m3pi m3pi(p23,p9,p10);
+
+int main() {
+  
+  m3pi.locate(0,1);
+  m3pi.printf("Blth RPC");
+  // do nothing, just wait for RPC comands
+  while(1) {}
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sun Nov 07 10:41:15 2010 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e