David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
l3g.h@55:05c8f439497d, 2015-04-16 (annotated)
- Committer:
- DavidEGrayson
- Date:
- Thu Apr 16 20:59:35 2015 +0000
- Revision:
- 55:05c8f439497d
- Parent:
- 44:edcacba44760
This commit works!! I recorded its logs in reckon_course_12.ods
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DavidEGrayson | 44:edcacba44760 | 1 | #pragma once |
DavidEGrayson | 44:edcacba44760 | 2 | |
DavidEGrayson | 44:edcacba44760 | 3 | // Returns 0 for success, non-zero for error. |
DavidEGrayson | 44:edcacba44760 | 4 | int32_t l3gInit(); |
DavidEGrayson | 44:edcacba44760 | 5 | int32_t l3gReadReg(char reg); |
DavidEGrayson | 44:edcacba44760 | 6 | int32_t l3gWriteReg(char reg, char value); |
DavidEGrayson | 44:edcacba44760 | 7 | int32_t l3gZRead(); |
DavidEGrayson | 44:edcacba44760 | 8 | int32_t l3gZAvailable(); |