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:
- 0:93bba564574a
- Child:
- 1:05bdd0697e72
diff -r 000000000000 -r 93bba564574a main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Oct 29 13:32:33 2010 +0000 @@ -0,0 +1,21 @@ +#include "mbed.h" +#include "m3pi.h" + +m3pi pi(p8,p9,p10); + +int main() { + + wait(0.5); + + pi.forward(0.5); + wait (0.5); + pi.left(0.5); + wait (0.5); + pi.backward(0.5); + wait (0.5); + pi.right(0.5); + wait (0.5); + + pi.stop(); + +} \ No newline at end of file