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.
Fork of m3pi_HelloWorld by
Diff: main.cpp
- Revision:
- 1:05bdd0697e72
- Parent:
- 0:93bba564574a
- Child:
- 2:5a329194c74d
diff -r 93bba564574a -r 05bdd0697e72 main.cpp --- a/main.cpp Fri Oct 29 13:32:33 2010 +0000 +++ b/main.cpp Tue Nov 02 16:55:00 2010 +0000 @@ -1,11 +1,16 @@ #include "mbed.h" #include "m3pi.h" -m3pi pi(p8,p9,p10); +m3pi m3pi(p8,p9,p10); + int main() { - wait(0.5); + + + pi.locate(0,1); + pi.printf("LO World"); + wait(5.0); pi.forward(0.5); wait (0.5);