EE149
/
FinalProject
Final Project files for mBed development.
main.c
- Committer:
- John Wilkey
- Date:
- 2014-11-13
- Revision:
- 6:00b7198f0b51
- Parent:
- 5:01882c3de2dc
- Child:
- 7:6e5cc24e1ce7
File content as of revision 6:00b7198f0b51:
/** * @file driver.c * @brief Basic driver program for our robot's controller logic. * * Maybe add lots of stuff here or maybe split it off into * multiple subfiles? * * @author John Wilkey */ #include "project.h" /** * These are global data Used externally in all other files */ m3pi pi; digi_out_pins out_pins; /** * @brief Entry point. Main loop. */ int main() { pretty_print("PiCO"); while(1) { wait(2); forward(10, DRIVE_SPEED); wait(2); backward(10, DRIVE_SPEED); } // // Our code should NEVER reach this point. return EXIT_FAILURE; }