Chris Styles
/
m3pi_BluetoothRPC
Accepts RPC commands over bluetooth (RN42)
Diff: main.cpp
- Revision:
- 3:be428c849e1c
- Parent:
- 2:acdb15f683eb
--- a/main.cpp Wed Nov 10 09:05:28 2010 +0000 +++ b/main.cpp Thu May 12 15:46:41 2011 +0000 @@ -2,15 +2,16 @@ #include "m3pi.h" #include "SerialRPCInterface.h" -// RN42 module defaults to 115,200 and is on p28,p27 +// RN42 module defaults to 115,200 and is connected on p28,p27 SerialRPCInterface Interface(p28, p27, 115200); -m3pi m3pi(p23,p9,p10); +m3pi m3pi; int main() { m3pi.locate(0,1); - m3pi.printf("Blth RPC"); + m3pi.printf("Blutooth"); + // do nothing, just wait for RPC comands while(1) {} } \ No newline at end of file