Hello world program that just gets CustomExplorerRobot moving.

Dependencies:   CustomExplorerRobot mbed

main.cpp

Committer:
Usuke
Date:
2016-02-27
Revision:
2:c229703e7a5a
Parent:
0:b14e99f78c69

File content as of revision 2:c229703e7a5a:

#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;
}