Accepts RPC commands over bluetooth (RN42)

Dependencies:   mbed m3pi

Revision:
0:74f2e70fcd27
Child:
2:acdb15f683eb
--- /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