Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
00001 #include "mbed.h" 00002 #include "m3pi.h" 00003 #include "SerialRPCInterface.h" 00004 00005 SerialRPCInterface Interface(USBTX, USBRX); // defaults to 9600 00006 m3pi m3pi; 00007 00008 int main() { 00009 00010 m3pi.locate(0,1); 00011 m3pi.printf("USB RPC"); 00012 00013 // do nothing, just wait for RPC comands over USB 00014 while (1) {} 00015 }
Generated on Wed Jul 13 2022 06:00:44 by
