The ASEE-2014 Robot Code
Dependencies: LineFollower mbed Motor
main.cpp
00001 #include "mbed.h" 00002 00003 /* Global Variables */ 00004 Linefollower frontarray(PTE5,PTE4,PTE3,PTE2,PTB11,PTB10,PTB9,PTB8); 00005 DigitalOut myled(LED1); 00006 00007 /* Driver methods */ 00008 00009 00010 int main() { 00011 while(1) { 00012 myled = 1; 00013 wait(0.2); 00014 myled = 0; 00015 wait(0.2); 00016 } 00017 }
Generated on Mon Jul 18 2022 16:03:21 by 1.7.2