David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
Diff: main.cpp
- Revision:
- 10:e4dd36148539
- Parent:
- 9:9734347b5756
- Child:
- 12:835a4d24ae3b
diff -r 9734347b5756 -r e4dd36148539 main.cpp --- a/main.cpp Sat Feb 22 03:03:37 2014 +0000 +++ b/main.cpp Sat Feb 22 04:44:44 2014 +0000 @@ -7,7 +7,7 @@ #include "pc_serial.h" #include "test.h" -int main() +int __attribute__((noreturn)) main() { pc.baud(115200); @@ -17,7 +17,8 @@ // Test routines //testMotors(); - testEncoders(); + //testEncoders(); + testLineSensors(); while(1) {