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
motors.h@10:e4dd36148539, 2014-02-22 (annotated)
- Committer:
- DavidEGrayson
- Date:
- Sat Feb 22 04:44:44 2014 +0000
- Revision:
- 10:e4dd36148539
- Parent:
- 9:9734347b5756
- Child:
- 32:83a13b06093c
Successfully tested the encoders, printing out a nice bar graph.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DavidEGrayson | 8:78b1ff957cba | 1 | #pragma once |
DavidEGrayson | 8:78b1ff957cba | 2 | |
DavidEGrayson | 9:9734347b5756 | 3 | void motorsInit(); |
DavidEGrayson | 9:9734347b5756 | 4 | void motorsSpeedSet(int16_t motorLeftSpeed, int16_t motorRightSpeed); |