David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
main.cpp
- Committer:
- DavidEGrayson
- Date:
- 2014-02-22
- Revision:
- 9:9734347b5756
- Parent:
- 8:78b1ff957cba
- Child:
- 10:e4dd36148539
File content as of revision 9:9734347b5756:
#include <mbed.h> #include <Pacer.h> #include "motors.h" #include "encoders.h" #include "leds.h" #include "pc_serial.h" #include "test.h" int main() { pc.baud(115200); // Enable pull-ups on encoder pins and give them a chance to settle. encodersInit(); motorsInit(); // Test routines //testMotors(); testEncoders(); while(1) { } }