Code for the car to drive in a figure eight motion

Dependencies:   mbed-rtos mbed MODSERIAL mbed-dsp telemetry

main.cpp

Committer:
ericoneill
Date:
2015-03-19
Revision:
0:2002d645d2a6
Child:
2:3eb545c3e6a1

File content as of revision 0:2002d645d2a6:

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}