![](/media/cache/profiles/ebb9a55061af33b68d38f7ce72e4460f.50x50_q85.jpg)
David's dead reckoning code for the LVBots competition on March 6th. Uses the mbed LPC1768, DRV8835, QTR-3RC, and two DC motors with encoders.
Dependencies: PololuEncoder Pacer mbed GeneralDebouncer
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) {