Hello world program that just gets the m3pi moving

Dependencies:   mbed m3pi

main.cpp

Committer:
chris
Date:
2010-10-29
Revision:
0:93bba564574a
Child:
1:05bdd0697e72

File content as of revision 0:93bba564574a:

#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();

}