The ASEE-2014 Robot Code

Dependencies:   LineFollower mbed Motor

main.cpp

Committer:
alolin
Date:
2014-02-27
Revision:
4:a31eca56198a
Parent:
2:0ab3dce54b64

File content as of revision 4:a31eca56198a:

#include "mbed.h"

/* Global Variables */
Linefollower frontarray(PTE5,PTE4,PTE3,PTE2,PTB11,PTB10,PTB9,PTB8);
DigitalOut myled(LED1);

/* Driver methods */


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