na
Dependencies: SeeedShieldBot mbed
Fork of robotLibreria by
Diff: trayecto.cpp
- Revision:
- 1:2e4287fdc918
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trayecto.cpp Thu Aug 13 02:15:11 2015 +0000 @@ -0,0 +1,18 @@ +#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); + } +} \ No newline at end of file