The ASEE-2014 Robot Code

Dependencies:   LineFollower mbed Motor

main.cpp

Committer:
blu12758
Date:
2014-02-21
Revision:
2:0ab3dce54b64
Parent:
0:0f66f94032be

File content as of revision 2:0ab3dce54b64:

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