Chris Styles
/
m3pi_BluetoothRPC
Accepts RPC commands over bluetooth (RN42)
main.cpp
- Committer:
- chris
- Date:
- 2010-11-07
- Revision:
- 0:74f2e70fcd27
- Child:
- 2:acdb15f683eb
File content as of revision 0:74f2e70fcd27:
#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) {} }