![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Mircroprocessor revised code 9/22
Fork of m3pi_HelloWorld by
main.cpp
- Committer:
- chris
- Date:
- 2010-11-02
- Revision:
- 2:5a329194c74d
- Parent:
- 1:05bdd0697e72
- Child:
- 3:f1b80fdc708c
File content as of revision 2:5a329194c74d:
#include "mbed.h" #include "m3pi.h" m3pi m3pi(p8,p9,p10); int main() { m3pi.locate(0,1); m3pi.printf("LO World"); wait(5.0); m3pi.forward(0.5); wait (0.5); m3pi.left(0.5); wait (0.5); m3pi.backward(0.5); wait (0.5); m3pi.right(0.5); wait (0.5); m3pi.stop(); }