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.
Revision 1:8828d71a0cc2, committed 2010-11-02
- Comitter:
- chris
- Date:
- Tue Nov 02 16:59:56 2010 +0000
- Parent:
- 0:3d8772528bc7
- Child:
- 2:1f604c2aa261
- Commit message:
- Changed instance name from \"pi\" to \"m3pi\", and all references to it. This is for consistency
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Nov 02 16:28:39 2010 +0000
+++ b/main.cpp Tue Nov 02 16:59:56 2010 +0000
@@ -3,12 +3,12 @@
#include "SerialRPCInterface.h"
SerialRPCInterface Interface(USBTX, USBRX); // defaults to 9600
-m3pi pi(p8,p9,p10);
+m3pi m3pi(p8,p9,p10);
int main() {
- pi.locate(0,1);
- pi.printf("USB RPC");
+ m3pi.locate(0,1);
+ m3pi.printf("USB RPC");
// do nothing, just wait for RPC comands over USB
while (1) {}