Hello world program that just gets CustomExplorerRobot moving.

Dependencies:   CustomExplorerRobot mbed

main.cpp

Committer:
Usuke
Date:
2016-02-27
Revision:
0:b14e99f78c69

File content as of revision 0:b14e99f78c69:

#include "mbed.h"
#include "CustomExplorerRobot.h"

CustomExplorerRobot cer;

int main() {

    wait(0.5f);
    cer.forward(0.5f);
    wait(0.5f);
    cer.left(0.5f);
    wait(0.5f);
    cer.backward(0.5f);
    wait(0.5f);
    cer.right(0.5f);
    wait(0.5f);
    cer.stop();
    
    return 0;
}