na

Dependencies:   SeeedShieldBot mbed

Fork of robotLibreria by juan esteban sereno mesa

trayecto.cpp

Committer:
0scar0o0o0
Date:
2015-08-13
Revision:
1:2e4287fdc918

File content as of revision 1:2e4287fdc918:

#include "mbed.h"


DigitalOut motorAD(D6);
DigitalOut motorAI(D5);
DigitalOut motorAEn(D7);
DigitalOut myled(LED1);

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